Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
GitHubUniverseRecap2024
Search
pnsk
November 27, 2024
610
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
GitHubUniverseRecap2024
pnsk
November 27, 2024
Transcript
20 slides
あなたの知らない 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
More Decks by pnsk
See All by pnsk
LT for women in tech
pnsk
0
80
2024-02-09-nailconf
pnsk
0
160
GitHubUniverseRecap2023
pnsk
1
220
Women Tech Terrace 2023
pnsk
0
620
Engineer Friendly City Fukuoka Festival 2020
pnsk
0
220
DevFestWomen 2019
pnsk
0
1.8k
Woman Tech Terrace 2019
pnsk
1
1.3k
Cloud Support Engineer Event 2019
pnsk
1
2k
Developers Summit Kobe 2018 0928
pnsk
0
1.5k
Featured
See All Featured
Utilizing Notion as your number one productivity tool
mfonobong
4
640
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
800
Raft: Consensus for Rubyists
vanstee
143
7.9k
Fashionably flexible responsive web design (full day workshop)
malarkey
409
67k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
620
Statistics for Hackers
jakevdp
799
230k
Tell your own story through comics
letsgokoyo
1
1.1k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
68
60k
How to Ace a Technical Interview
jacobian
280
24k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
530
A designer walks into a library…
pauljervisheath
211
25k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.7k