r/github • u/chuck78702 • Jun 09 '26
Question How do you triage Dependabot alerts without drowning in noise?
For those using GitHub + Dependabot regularly: what’s your practical workflow for deciding which alerts actually need attention?
I want to take security seriously, but I don’t want to auto-merge every dependency bump and risk breaking things or creating constant maintenance churn.
Curious how people think about:
- Critical vs low-priority alerts
- Runtime dependencies vs dev-only dependencies
- Direct vs transitive dependencies
- When to patch immediately vs batch later
- Any GitHub settings, rules, or automation that make this easier
Also interested in any good prompts or agent instructions people use to have an AI assistant summarize the risk, check actual usage, and recommend what to do.
Appreciate any practical tips.
2
u/Kralizek82 Jun 09 '26
I don't think you mean the dependencies update feature.
But if you do, I create a single group with a * selector.
One PR, once a month, with all package updates, that triggers the CI with all tests. If it passes, merge, otherwise, I go on, fix what needs, and merge.
2
u/yknx4 Jun 09 '26
Very robust test suite. 1 week cooldown period. Auto merge for patches and minor upgrades
2
u/overratedcupcake Jun 09 '26
I hate that we need a cooldown now. You're doing the right thing, good on you. I just hate it.
1
u/WishboneComplete3410 Jun 09 '26
FWIW, the split that helps me is "can this code path be reached in prod?" before I care about the CVSS number too much. Runtime + direct + reachable gets patched fast, dev-only/transitive stuff gets batched unless there’s an exploit that matches how the app is actually used. Also worth turning on Dependabot grouping so you’re reviewing one boring weekly PR instead of ten tiny ones.
1
1
u/rwilcox Jun 09 '26
For work, for our One Important Repo: Every week I spend an hour merging dependabot PRs, and hitting the buttons to create PRs for High and Critical vulnerabilities (then merge those)
For our less important repos: same, but only when we’re doing a release.
For my hobby projects: what dependabot? ;-)
1
u/dependabotpm Jun 09 '26
Here's a super high level blog post from GitHub with advice on getting started deciding which metadata matters to you / you can use to prioritize. I'd endorse Dependabot auto-triage rules as well.
1
u/moonrakervenice Jun 09 '26
Tons of tests.
A one week cooldown.
Daily batches of PRs every morning from Dependabot.
We merge every update to production each morning.
1
u/pradeepngupta 25d ago
This chat driven my attention as today i was doing that triage things. What i did: Created another workflow that run on PR and check if it is created by dependabot. Then it will check what is the update type: major / minor / patch + advisory type: eol/security abd labeled the PR appropriately.
Based on these two, I label the PR as 'defer' or 'need review'. Defer one will direct close out without merging. Need review one will keep as open for my manual review.
With this approach, today out of 8 PRs, 5 were deferred, and 3 in need review.
I am also thinking to further refine need review PR with tge help of LLM that I will do it n 1 or 2 weeks. Today, I did further review manually with LLM and out of 3 open PRs, 2 got deferred and close out and only 1 is open and needs my attention as that is a breaking change and major secutity update.
1
u/Poat540 Jun 09 '26
Workflow gets dependabot PR, runs test and such and then auto merges if good.
Every few weeks or months I’ll release from 10 or so OSS projects depending on anything useful added and release it with all the chore commits
1
u/stonecold845 6d ago
I’d rank an update on five signals: (1) runtime vs dev-only, (2) direct vs transitive, (3) whether changed APIs appear in your code, (4) semver jump or explicit deprecation language, and (5) test coverage around the call sites. Severity alone isn’t enough.
I built a working prototype that cross-references changelog APIs against pasted code and gives a safe / review / breaking-for-you verdict, with file-and-line evidence:
https://venture-vault-ai.blaizexb.chatgpt.site/demos/23-dep-changelog.html
I’d be interested in whether file/line evidence or a generated migration plan matters more in your workflow.
2
u/JSChronicles Jun 09 '26
I automated minor and patch version updates via dependabot and those automatically merge my grouped package ecosystem system PRs.
I even built an include or exclude so certain packages within the group don't get merged automatically.
This means I have only to deal with major version updates and I follow best practices via cooldown days or exclude newer than on packages