Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
GitHub Actions に入門しました
Search
Doarakko
February 25, 2021
Programming
0
1.3k
GitHub Actions に入門しました
Doarakko
February 25, 2021
Tweet
Share
More Decks by Doarakko
See All by Doarakko
Cloudflare Workers で X(Twitter)のボットを作ってみた
doarakko
0
250
Vercel Edge Functions を使って作る画像メーカー
doarakko
0
66
JOIN して1ヶ月のエンジニアに聞いた Liiga の良いところ 3 選
doarakko
0
80
わんわおーん
doarakko
0
66
職場を明るくする
doarakko
0
290
コードレビューの時間を削減しました
doarakko
0
92
仕事中に隠れてテレビ番組表を見るぞ
doarakko
0
170
GitHub Project の運用を自動化しました
doarakko
0
110
積ん読を消化するために
doarakko
0
1.2k
Other Decks in Programming
See All in Programming
イベントストーミング図からコードへの変換手順 / Procedure for Converting Event Storming Diagrams to Code
nrslib
2
860
Railsアプリケーションと パフォーマンスチューニング ー 秒間5万リクエストの モバイルオーダーシステムを支える事例 ー Rubyセミナー 大阪
falcon8823
5
1.1k
Modern Angular with Signals and Signal Store:New Rules for Your Architecture @enterJS Advanced Angular Day 2025
manfredsteyer
PRO
0
230
AIエージェントはこう育てる - GitHub Copilot Agentとチームの共進化サイクル
koboriakira
0
600
#QiitaBash MCPのセキュリティ
ryosukedtomita
1
1.4k
RailsGirls IZUMO スポンサーLT
16bitidol
0
190
PHPでWebSocketサーバーを実装しよう2025
kubotak
0
290
The Niche of CDK Grant オブジェクトって何者?/the-niche-of-cdk-what-isgrant-object
hassaku63
0
140
明示と暗黙 ー PHPとGoの インターフェイスの違いを知る
shimabox
2
530
What's new in AppKit on macOS 26
1024jp
0
120
状態遷移図を書こう / Sequence Chart vs State Diagram
orgachem
PRO
1
130
テストから始めるAgentic Coding 〜Claude Codeと共に行うTDD〜 / Agentic Coding starts with testing
rkaga
13
4.9k
Featured
See All Featured
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
20
1.3k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.4k
Code Review Best Practice
trishagee
69
19k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
50
5.5k
Balancing Empowerment & Direction
lara
1
440
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
Designing for Performance
lara
610
69k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
6
310
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
How to Ace a Technical Interview
jacobian
278
23k
Writing Fast Ruby
sferik
628
62k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.7k
Transcript
GitHub Actions に入門しました @Doarakko
・2019年12月入社(2社目) ・エンジニア歴1.5年 - 仕事: Go, PHP - 趣味: Python, C++
・AtCoder 緑 ・海外サッカーをよく見ます 自己紹介 2
・GitHub が提供する CI/CD サービス ・CircleCI、TravisCI などと同じもの ・ビルド、テスト、デプロイを自動化したり GitHub Actions とは
3
GitHub Actions の特徴 4 ・安い(はず) - 人数課金(CircleCI)ではなく実行時間による課金制 ・いろいろな Action が公開されている(他も個人ブログ等で公開はされている)
・GitHub の操作が簡単に行える
いろいろなアクションが公開されている 5 🍎 自分が作った Action を公開するのも超簡単!
GitHub の操作が簡単に行える 6 例:タイトルに「コミュニティ」が含まれていたらラベルを自動でつける 🍍github-scripts:YAML 内に JS を記述できて GitHub の操作が簡単に行える
Action 自作の Action を JS で作る場合
GitHub Actions in 外資就活ドットコム 7
チームごとに通知する Slack チャネルを分ける 8 🍊 GitHubのissue管理をいい感じにしたい チームラベルで判定する
アプリのリリースノートを自動生成 9 🤖 今回のリリースで何が修正されるのか手作業で確認している(はず)
Peter Botman 解雇 10 🍎 CoffeeScript を書かなくても大丈夫!
いろいろなことができそう🤔 11
遊戯王カードをドローする GitHub Action を作りました 12
遊戯王カードをドローするまでの流れ 13 1. issue に「ドロー」とコメント 2. issue へのコメントをトリガーに workflow 起動
3. コメント本文に「ドロー」が含まれているときのみ Action を実行 4. 遊戯王 API(非公式)にリクエストを送って画像 URL を取得 5. 対象の issue に Markdown 形式で画像を URL を貼る 💡 遊戯王 API by YGOPRODeck:https://db.ygoprodeck.com/api-guide/
YAML と JavaScript をちょっと書くだけ 14 💡 公式チュートリアルが非常に分かりやすい
俺のターン!ドロー!! 15