Skip to content

chore: group Dependabot security updates by example family - #926

Open
bnusunny wants to merge 1 commit into
mainfrom
chore/dependabot-groups
Open

bnusunny wants to merge 1 commit into
mainfrom
chore/dependabot-groups

Conversation

@bnusunny

Copy link
Copy Markdown
Contributor

Dependabot opens one security PR per example today: 50 entries, and with 580 open alerts across 32 directories that settles at ~25 open PRs. This groups the example manifests into 12 family entries, so a weekly run opens at most one PR per family (9 with today's alerts).

Testing

.github/scripts/check-example-config.sh: "54 manifest directories under examples/ are all claimed by .github/dependabot.yml". GitHub validates the file itself once it is on main.

Claim the example manifest directories in 12 family entries (npm x3,
pip x2, gomod, maven, nuget, bundler, cargo examples, adapter cargo,
github-actions) instead of 50 one-per-example entries. With 580 open
alerts across 32 directories, one entry per example meant ~25 open
security PRs at steady state; family entries cap it at 12 (9 with
today's alerts).

Every guarantee from #844 is kept: security updates only
(open-pull-requests-limit: 0), a `security` group with patterns ["*"],
chore/ci commit prefixes Commit Lint accepts, explicit (non-glob)
directories, and every manifest claimed. The config check script
reports all 54 manifest directories under examples/ as claimed.

The tradeoff against #844 is that, inside a family, one bad bump now
blocks the family's other fixes until someone fixes it. #844 chose one
PR per example to avoid that. Families are drawn so examples that break
the same way (Starlette pins, Tailwind/Vite front-ends, Express servers)
share a PR, and sls/nestjs (163 alerts) gets its own entry.
@bnusunny
bnusunny requested a review from a team as a code owner November 13, 2026 19:51

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant