BM: Baca dalam Bahasa Melayu
World 7: Robots: Actions & CI/CD
Dependabot updates
You will learn: how Dependabot keeps your packages and actions up to date.
The problem
Monday morning. Two pull requests showed up overnight. You didn’t open them. A robot did. Which one?
Watch
It’s Dependabot: GitHub's helper that warns about unsafe packages and can open pull requests to update them.. Its version updates keep packages fresh, holes or not. You switch them on with one file: .github/dependabot.yml.
Try it
Which line keeps your workflow actions fresh? Tap it.
Tap the line for your workflow actions.
0 of 1 found
Watch
Remember pinned SHAs? Dependabot bumps those too. A pinned action gets a new version. What does Dependabot’s pull request change?
Pick one answer.
Try it
Security alert (World 8) or version update? Sort each one.
Drag a card into a box. Or tap the card, then tap the box.
Predict
A Dependabot pull request makes your CI fail. What now?
Pick one answer.
You did it!
You can now let Dependabot keep your project fresh.
Go deeper (optional)
interval can be daily, weekly, monthly and more. Version updates look at your default branch. Lots of small PRs? groups: bundles many updates into one PR. Dependabot’s PRs run your CI, just like a teammate’s.
Bahasa Melayu
Pagi Isnin. Dua pull request muncul semalaman. Anda tak buka pun. Robot yang buka. Robot mana?
Itulah Dependabot. Version updates (kemas kini versi) pastikan pakej sentiasa baru, walaupun tiada lubang. Anda hidupkan dengan satu fail: .github/dependabot.yml.
Baris mana yang pastikan action workflow anda terkini? Ketik baris itu.
Ingat SHA yang disematkan? Dependabot kemas kini itu juga. Satu action yang disematkan dapat versi baru. Apa yang pull request Dependabot ubah?
Amaran keselamatan (Dunia 8) atau version update? Susun setiap satu.
Satu pull request Dependabot buat CI anda gagal. Apa sekarang?
Kini anda boleh biar Dependabot pastikan projek anda terkini.
You finished this before. Practice is always welcome!
Official docs: Configuring Dependabot version updates · Dependabot options reference
You've learned for 25 minutes. A short break helps your brain.
Sprint done! Great focus. Stretch for a minute?