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 2021-12-16
Search
sullis
December 16, 2021
Programming
0
42
GitHub Actions 2021-12-16
GitHub Actions overview
December 16, 2021
sullis
December 16, 2021
Tweet
Share
More Decks by sullis
See All by sullis
Netty ConFoo Montreal 2025-02-27
sullis
0
34
GitHub Actions ConFoo Montreal 2025-02-26
sullis
0
16
Netty Portland Java User Group 2025-02-18
sullis
0
4
Amazon S3 NYJavaSIG 2024-12-12
sullis
0
140
Amazon S3 - Portland Java User Group 2024-09-17
sullis
0
72
Netty - Montreal Java User Group 2024-05-21
sullis
0
160
Netty Chicago Java User Group 2024-04-17
sullis
0
1k
Java 21 - Portland Java User Group 2023-10-24
sullis
0
300
Microbenchmarking with JMH - Portland 2023-03-14
sullis
0
140
Other Decks in Programming
See All in Programming
Your Architecture as a Crime Scene:Forensic Analysis @bastacon 2025 in Frankfurt
manfredsteyer
PRO
0
140
はじめてのIssueOps - GitHub Actionsで実現するコメント駆動オペレーション
tmknom
7
1.9k
やっと腹落ち「スプリント毎に動くモノをリリースする」〜ゼロから始めるメガバンクグループのアジャイル実践〜
sasakendayo
0
260
iOSでQRコード生成奮闘記
ktcryomm
2
150
バックエンドNode.js × フロントエンドDeno で開発して得られた知見
ayame113
3
810
kintone開発を効率化するためにチームで試した施策とその結果を大放出!
oguemon
1
410
CloudRun, Spanner に対する負荷試験の反省と オブザーバビリティによるアプローチ
oyasumipants
1
220
たのしいSocketのしくみ / Socket Under a Microscope
coe401_
8
1.5k
バイセルでの AI を用いた開発の取り組み ~ Devin, Cursor の活用事例・知見共有 ~
umaidashi
0
140
Modern Angular with Signals and Signal StoreNew Rules for Your Architecture @bastacon 2025 in Frankfurt
manfredsteyer
PRO
0
160
Accelerate your key learnings of scaling modern Android apps
aldefy
0
100
はじめての Go * WASM * OCR
sgash708
1
140
Featured
See All Featured
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.3k
It's Worth the Effort
3n
184
28k
Building Applications with DynamoDB
mza
93
6.3k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Gamification - CAS2011
davidbonilla
80
5.2k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
Building Adaptive Systems
keathley
40
2.4k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
160
15k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.1k
Code Review Best Practice
trishagee
67
18k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.2k
Designing on Purpose - Digital PM Summit 2013
jponch
117
7.1k
Transcript
GitHub Actions 2021-12-16 Sean Sullivan
Agenda GitHub Actions Core concepts Security
GITHUB ACTIONS
“GitHub Actions help you automate your software development work fl
ows” source: GitHub.com
“You can write individual tasks, called actions, and combine them
to create a custom work fl ow” source: GitHub.com
Getting started
Actions tab
Actions tab Starter Work fl ow
Work fl ow editor
Work fl ow editor
Work fl ow editor
Work fl ow editor checkout
Work fl ow editor setup-java
Work fl ow editor run: sbt test
Work fl ow editor click
Work fl ow editor click
.github/work fl ows
Actions tab
Actions tab
Actions tab
Ruby On Rails uses GitHub Actions
Ruby on Rails
Ruby on Rails
Ruby on Rails
Ruby on Rails
Redis Dropwizard Log4j Open source projects using GitHub Actions twilio-java
Guardrail Net fl ix Zuul
Core concepts
Events Actions Work fl ows
create deployment deployment_status issue created pull_request push schedule label created
(and many more) Events trigger work fl ows
Work fl ows are custom automated processes that you can
set up in your repository to build, test, package, release, or deploy source: GitHub.com
GitHub webhooks GitHub Actions work fl ows
Actions are individual tasks that you can combine to create
jobs source: GitHub.com
You can create custom Actions or use Actions provided by
the GitHub community source: GitHub.com
action.yml declares the inputs and outputs for an action source:
GitHub.com
Types of Actions: JavaScript Docker source: GitHub.com
“GitHub Actions is available with GitHub Free, GitHub Pro, GitHub
Team, and GitHub Enterprise” source: GitHub.com
What if I already have an existing CI tool enabled?
Keep your existing CI tool and enable GitHub Actions
Evaluate both CI tools running side-by-side
Actions runtime Runners Virtual Environments
Runners GitHub-hosted Self-hosted
Hosted Runners “GitHub hosts Linux and Windows runners on Standard_DS2_v2
virtual machines in Microsoft Azure with the GitHub Actions runner application installed” source: GitHub.com
Self-Hosted Runners “Self-hosted runners can be physical, virtual, container, on-premises,
or in a cloud” source: GitHub.com
Self-Hosted Runners
Self-Hosted Runners C Sharp
Virtual Environments
Ubuntu 20.04 Ubuntu 18.04 Linux support
Third party actions
AWS Actions Azure Actions Google Cloud Actions
Pulumi Actions Terraform Actions Docker Actions
https://github.com/aws-actions
None
AWS: action.yml
Security
Secrets access protected keys using the secrets context object source:
GitHub.com
Secrets source: GitHub.com
Secrets source: GitHub.com
Secrets source: GitHub.com
Secrets source: GitHub.com
Self-Hosted Runners “do not use self- hosted runners with public
repositories” source: GitHub.com
Self-Hosted Runners “Forks of your public repository can potentially run
dangerous code on your self-hosted runner machine” source: GitHub.com
Final thoughts
“CI ensures that the code that we create, as a
team, works by providing us with rapid feedback on any problems”
GitHub Actions YAML Automation Conclusion
Thank you twitter.com/tinyrobots github.com/sullis
Bonus slides
None
THE END