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
GitHubUniverseRecap2024
Search
pnsk
November 27, 2024
2
460
GitHubUniverseRecap2024
pnsk
November 27, 2024
Tweet
Share
More Decks by pnsk
See All by pnsk
LT for women in tech
pnsk
0
25
2024-02-09-nailconf
pnsk
0
77
GitHubUniverseRecap2023
pnsk
1
100
Women Tech Terrace 2023
pnsk
0
470
Engineer Friendly City Fukuoka Festival 2020
pnsk
0
120
DevFestWomen 2019
pnsk
0
1.6k
Woman Tech Terrace 2019
pnsk
1
1.2k
Cloud Support Engineer Event 2019
pnsk
1
1.7k
Developers Summit Kobe 2018 0928
pnsk
0
1.3k
Featured
See All Featured
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.3k
Side Projects
sachag
452
42k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
32
2.7k
Adopting Sorbet at Scale
ufuk
73
9.1k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
Raft: Consensus for Rubyists
vanstee
137
6.7k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
169
50k
Code Reviewing Like a Champion
maltzj
520
39k
How To Stay Up To Date on Web Technology
chriscoyier
789
250k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
28
900
The Pragmatic Product Professional
lauravandoore
32
6.3k
Transcript
あなたの知らない GitHub Actions 小技 集
None
GitHub Actions Is a CI/CD platform. It lets us automate
workflows at every step in software development process.
Agenda 1. Workflow 2. Environment 3. Deployment view 4. Insight
5. Immutable Actions
Workflow
Matrix jobs Workflow • Test multiple versions of dependencies or
multiple OS versions • Speed up testing processes
continue-on-error • Continuously run Actions if a step fails •
Available for job/step levels Workflow
continue-on-error • Handling a failure job like roll backing the
deployment • Negative test Expected use cases
Deployment view
Deployment history • Deployment view • Pinging environments (max: 10)
• More filters on the view ◦ Creators, statues, environments, commits.
Environment
• Required reviewers • Wait timer • Custom rules with
GitHub Apps Deployment protection rules Environment
• Protected branches only • Selected branches and tags Deployment
branches and tags Environment
Insight
Usage metrics Insight • Usage metrics for your organizations
Performance metrics Insight • How long did workflows/jobs take to
complete? • How long did workflows/jobs wait to run? • Which workflows/jobs are consistently failing? • Where is the longest running workflows/jobs?
Immutable Actions
Immutable Actions Mutable References Actions can be referenced in workflow
by Git tag, release name, branch name or SHA. Tag in particular are mutable by design. Risk Mutable references can become subject to history overwrite attacks or changes to the target of the Git tags Looks like a released version, but is a Git tag
Immutable Actions • Actions is published as OCI packages to
GitHub Container Registry • Immutable version tags with SemVer SemVer that points at immutable artifact
https://support.github.com