Dependabot is easy to switch on and hard to run well. The switch takes an eleven-line file, most of it comments. The running part is what happens next, when pull requests arrive faster than anyone reads them. I wanted numbers on that, so I pulled the full Dependabot history of a private pnpm monorepo: 56 pull requests and 590 alerts, September 4 to October 23, 2026. This post is those numbers, the options that shaped them, and a triage routine I'd use on the next batch.
One boundary up front. I didn't make these merges, and I can't see who read what. What follows is a reading of pull request metadata and the alerts API, set against GitHub's own documentation, which I opened for every option named below.
What did seven weeks of Dependabot actually produce?
Two streams, and they behave differently.
| Stream | PRs | Merged | Closed unmerged | Open |
|---|---|---|---|---|
| Version updates (one package each, plus one pair) | 39 | 35 | 0 | 4 |
| Security PRs (grouped, titled "npm_and_yarn group") | 17 | 13 | 3 | 1 |
The version stream is almost mechanical. Eight batches landed on eight Fridays, the last seven around 03:35 UTC, and none carried more than five pull requests. That's the documented default of open-pull-requests-limit: five open version-update PRs. In seven of the eight batches the cap was hit exactly. I can't tell how many updates were waiting behind it.
Here's the part I can't explain. The docs say weekly updates run "by default on Monday", and the config file has no day key. The history says Friday, eight times running. I don't know why. If you care which day your week starts with, set day and stop trusting either source.
The alert stream is the bigger number. 590 alerts across 52 manifests, 507 fixed and 83 open. But the alerts API gives every alert a GHSA identifier, and counting those gives 201 distinct advisories. One advisory raised 28 alerts, one for each manifest that contained the package. 188 of the 590 sat under audit directories that hold benchmark fixtures nobody deploys.
An alert count measures your manifests. An advisory count measures your problems.
Why does that matter? Because the number you track decides what you fix first. A dashboard that reports 83 open alerts sounds like a bad week. The same dashboard, grouped by advisory, reports 10, spread over four packages. Whether that's better depends on what the ten are, which is the rest of this post.
Which options does dependabot.yml actually need?
The file in this repository, as GitHub generated it:
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
It's valid. I ran it through a small Node checker I wrote for this post (about 270 lines) that tests option names and value ranges against the options reference. No errors, four warnings:
configs/as-found.yml
WARN updates[0].schedule.day: weekly runs "by default on Monday" per the reference; set `day` if you need another
WARN updates[0].open-pull-requests-limit: unset: default is 5 open version-update PRs (security PRs have a separate fixed limit of 10)
WARN updates[0].cooldown: no block: the 3-day default cooldown for version updates still applies; security updates are exempt
WARN updates[0].groups: no groups: one PR per dependency (and, for security updates, grouping only where enabled in repository settings)
Every warning is a default you're already living with. Here's what the documentation says about the ones that matter.
| Option | What the docs say | What I'd do |
|---|---|---|
open-pull-requests-limit |
Default 5, version updates only. Security PRs have a separate fixed limit of 10 that this option can't change. | Raise it only when you can review more than five a week. |
cooldown |
Default 3 days since July 2026. Day values 1 to 90. Security updates are exempt. | Longer for majors. Never 0 for speed (see the default-cooldown note). |
groups |
Configured per ecosystem. applies-to is version-updates or security-updates. First matching group wins. |
Group minor and patch. Leave majors alone. |
ignore |
Names, version ranges or version-update:semver-* types. Overrides allow. |
Every rule gets a reason and a date in a comment. |
exclude-paths |
Version updates only. Globs supported. | Fixtures and vendored code. |
Two details worth knowing. The directory key doesn't accept globs; directories does. And group names must start and end with a letter, so 1-all-of-it is an error even though it looks harmless.
The configuration I'd start from, trimmed from the example file the same checker passes with zero errors:
version: 2
updates:
- package-ecosystem: "npm"
directories: ["/", "/packages/*"]
schedule: { interval: "weekly", day: "monday", time: "06:00", timezone: "UTC" }
open-pull-requests-limit: 10
cooldown: { default-days: 3, semver-major-days: 14, semver-minor-days: 7, semver-patch-days: 3 }
groups:
dev-tooling:
dependency-type: "development"
update-types: ["minor", "patch"]
runtime-minor-patch:
dependency-type: "production"
update-types: ["minor", "patch"]
security-minor-patch:
applies-to: "security-updates"
patterns: ["*"]
update-types: ["minor", "patch"]
ignore:
# Reason: the 6.x line needs its own migration PR. Revisit 2026-12-01.
- dependency-name: "typescript"
update-types: ["version-update:semver-major"]
The 14, 7 and 3 are my numbers, not GitHub's. The shape is the point: majors wait longest because they're the ones that can take a build down. The last group is there for a reason that has nothing to do with tidiness, and it's the next section.
Why did a security PR try to move Astro two majors?
Early in the history, one grouped security PR carried fifteen updates. One row read astro 5.18.0 to 7.1.1, in nine manifests. According to the notes on the replacement PR, every site in the monorepo then failed to build. The advisories behind it had first patched versions in the 6.x line (the notes cite fixes at 6.3.3 and 6.4.6), and nothing in 5.x. Why Dependabot reached for 7.1.1 and not the smallest 6.x that fixed it, I can't tell from the PR.
The docs say each security PR moves the dependency to the minimum version that includes the patch, and that sentence is true and unhelpful at once. If the line you're on has no backport, the minimum patched version can sit two majors away.
The same PR had a second problem, and it's the one I find more instructive. Per the notes, Dependabot rewrote direct dependencies on undici from ^7.24.x down to ^6.28.0, chasing an advisory on a transitive copy. A downgrade, labeled a bump, inside a group of fifteen. The maintainers closed it, scoped a replacement by hand (astro stayed on 5.18.2, with the two high alerts left open on purpose, in writing) and pin undici back up.
I'd take two rules from that. First, read the From and To columns of the table at the top of every grouped PR before you read anything else. Second, don't let a security group contain majors: the update-types line on security-minor-patch above means a fix that only exists in a new major arrives as its own PR, where the arithmetic can't hide among fourteen small ones.
How do I read a Dependabot pull request?
Five questions, in this order. Nothing here is exotic.
- What's the real jump? Read From and To for every row. A title saying "bump the npm_and_yarn group with 2 updates" tells you nothing about semver.
- Is it direct or transitive, runtime or development? The alerts API exposes
scopeasruntimeordevelopment. In this history 149 of 507 fixed alerts were development-scoped, 29%. - What does the advisory say? Open it. Affected range, first patched version, and the one question the bot can't answer: does your code reach the vulnerable path? GitHub's page on Dependabot alerts doesn't mention reachability, so assume the bot isn't judging it.
- Is the jump the minimum? Compare the PR's target version with the advisory's first patched version. Anything bigger needs a reason.
- What did CI not test? Green means the tests you wrote passed, and which gates to put first decides how much that sentence is worth. A major bump of a type checker can land 24 changed files and still be green on the tests you have.
That last one isn't hypothetical. When I pulled the list, a TypeScript 5.9.3 to 6.0.3 pull request touched 24 files (+233, -228), and its required check was still running. I didn't evaluate it. I'm using it to make a smaller point: that's not a lockfile nudge.
Then there's the clock. Of the 39 version-update PRs, 12 were major bumps. Eleven of them merged, in a median of 5.1 hours after opening. The 10 merged patches took 6.1. A major bump waited no longer than a patch.
Does that prove anyone skipped the reading? No. A careful person can read an advisory in minutes. But whatever decides merge speed in this history, it isn't risk, and I'd want a reviewer to be able to say why a major took five hours. If the only gate is a green check, the gate is as good as the tests, and that's a finding about the tests. It's the same trap as an approval count: it measures the button, not the reader.
Which pull requests may merge themselves?
Only the ones where being wrong is cheap, and I'd draw the line tighter than most guides do: patch updates to direct development dependencies. A linter or a formatter that breaks on a patch release breaks your pipeline, and you'll notice within the hour. A runtime dependency that breaks on a patch can break production in a way the test suite never saw.
GitHub's page on automating Dependabot shows the shape: a workflow on pull_request that checks the author is dependabot[bot], runs dependabot/fetch-metadata, and calls gh pr merge --auto --merge when update-type is version-update:semver-patch. The action also reports dependency-type (direct:production, direct:development or indirect), so one more condition narrows the rule:
- if: steps.metadata.outputs.update-type == 'version-update:semver-patch' && steps.metadata.outputs.dependency-type == 'direct:development'
run: gh pr merge --auto --merge "$PR_URL"
I haven't run this workflow, and the file in the example folder says so in its first line. The reason: the GitHub page uses pull_request with write permissions, while the action's README says Dependabot-triggered pull_request runs get a read-only token and points to pull_request_target for anything that needs write access. The two pages disagree. Test on a throwaway repository first. And require status checks on the branch: the docs tell you to, so that an auto-merge waits for them.
Here's the opinion you might not share. I wouldn't auto-merge runtime dependencies at all, patch or not. A patch is a claim by the maintainer, not a measurement.
When is dismissing an alert honest?
Honest dismissal is a decision with a reason attached. Dishonest dismissal is the same click without one, repeated until the dashboard looks calm. Mass "dismiss as false positive" is the alert-shaped cousin of suppressing lint rules.
GitHub gives you the vocabulary. The REST API accepts five dismissed_reason values: fix_started, inaccurate, no_bandwidth, not_used and tolerable_risk. A dismissed_comment is optional in the UI and capped at 280 characters in the schema. So GitHub won't enforce the habit; you have to measure it.
gh api -X PATCH repos/OWNER/REPO/dependabot/alerts/123 \
-f state=dismissed -f dismissed_reason=not_used \
-f dismissed_comment="Lockfile of a frozen benchmark fixture, never deployed. Revisit if fixtures are removed."
In this repository, the count of dismissals is zero. 590 alerts, no dismissals, no auto-dismissals. That's not virtue. It means 80 of the 83 open alerts, all in the lockfiles of benchmark fixtures, are open because nobody has decided anything about them. A not_used dismissal with a comment would settle most of them in one sitting. I haven't done it, and I wouldn't dismiss anything in someone else's repository on the strength of a path name.
GitHub also offers auto-triage rules. The preset "Dismiss low impact issues for development-scoped dependencies" is on by default for public repositories and opt-in for private ones. Custom rules can dismiss by severity, package name or CWE. The page doesn't say whether a rule can match on manifest path, so I can't promise it handles fixture directories, and the same goes for exclude-paths: it's marked version-updates-only, and the docs don't say whether it keeps security PRs out.
What should the dashboard show instead of an alert count? Two measures: the share of dismissals that carry a written reason, and the time to a patch. The core of my metrics script is the second one, counted per advisory:
const first = Math.min(...list.map((alert) => new Date(alert.created_at)));
const last = Math.max(...list.map((alert) => new Date(alert.fixed_at)));
perAdvisory.push((last - first) / DAY); // first alert raised, last alert fixed
And its output on the full export:
alerts 590
distinct advisories 201
by state {"open":83,"fixed":507}
dismissed 0
with a written reason 0 (n/a (nothing dismissed))
fixed: median days per alert 2.5
fixed: median days per advisory 8.9
fixed: p90 days per advisory 29.4
open advisories 10
oldest open alert (days) 6.0
The 2.5-day median looks healthy. Count per advisory, from the first alert raised to the last one closed, and it's 8.9 days, with a 29-day tail. The four tall bars show why the first number flatters: 446 of the 507 closures landed on four days, each one a big merge closing dozens of alerts at once. One critical alert took 29 days. High severity had the slowest median per alert, 4.7 days against 1.9 for medium and 0.7 for low. I can't see why from this export. My guess is that high-severity fixes more often needed a major bump, but that's a guess.
Where does this reading fall short?
A few places, and they matter.
It's one repository over seven weeks. The monorepo has 52 manifests and a lot of fixture lockfiles, which inflates alert counts in a way a normal single-package project won't see. "Fixed" in the API also covers alerts that closed because the dependency left the manifest, not only because a patch landed. PR metadata shows timing, never attention. And the docs I read have gaps I've named above: dismissal reasons in the UI, the exact scope of exclude-paths, how ignore interacts with security updates.
Also worth saying: the typescript ignore rule in my config is an example, not advice. If your build is healthy on 6.x, take the update.
One blind spot sits outside all of this. An archived dependency still raises alerts, but an archived repository of your own quietly stops getting them.
If you tracked advisories instead of alerts for a month, would your own time to patch go up or down? Mine went from 2.5 days to 8.9, and I'd rather know which number I was proud of.