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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
pnsk
November 27, 2024
600
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
GitHubUniverseRecap2024
pnsk
November 27, 2024
More Decks by pnsk
See All by pnsk
LT for women in tech
pnsk
0
64
2024-02-09-nailconf
pnsk
0
150
GitHubUniverseRecap2023
pnsk
1
190
Women Tech Terrace 2023
pnsk
0
590
Engineer Friendly City Fukuoka Festival 2020
pnsk
0
210
DevFestWomen 2019
pnsk
0
1.7k
Woman Tech Terrace 2019
pnsk
1
1.3k
Cloud Support Engineer Event 2019
pnsk
1
1.9k
Developers Summit Kobe 2018 0928
pnsk
0
1.5k
Featured
See All Featured
Java REST API Framework Comparison - PWX 2021
mraible
34
9.6k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
820
The Mindset for Success: Future Career Progression
greggifford
PRO
0
430
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.7k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
360
Git: the NoSQL Database
bkeepers
PRO
432
67k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.5k
A Soul's Torment
seathinner
6
3.1k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.4k
The untapped power of vector embeddings
frankvandijk
2
1.8k
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