Skip to content

chore: group Dependabot updates and move them to monthly - #37

Merged
JasonZQH merged 1 commit into
devfrom
chore/dependabot-grouping
Jul 28, 2026
Merged

chore: group Dependabot updates and move them to monthly#37
JasonZQH merged 1 commit into
devfrom
chore/dependabot-grouping

Conversation

@JasonZQH

Copy link
Copy Markdown
Owner

Follow-up to #36. Config-only; no source, test, or CI changes.

What changes

before after
Cadence weekly monthly
github-actions one PR per action one grouped PR
uv dependencies one PR per package one grouped PR

The five bumps currently open (#30, #31, #32, #33, #34) are what the weekly, ungrouped default produces for a solo maintainer. Under this config that same batch would have arrived as two PRs.

Why one group per ecosystem, not a runtime/dev split

My first draft split the uv entry into runtime and dev-tools groups via dependency-type, reasoning that a red lint-tool bump shouldn't hold a runtime bump hostage — which is precisely what a grouped Ruff 0.16.0 would have done to the typer bump.

The options reference rules that out. dependency-type inside a group is "Supported by: bundler, composer, mix, maven, npm, and pip" — uv is not on the list. And "any outdated dependencies that do not match a rule are updated in individual pull requests," so a group matching nothing degrades straight back to per-dependency PRs.

The motivating concern is also weaker than it looked: security updates are raised as advisories land, outside both the schedule and the grouping, and are explicitly exempt from open-PR limits. So a red grouped version-update PR can delay a routine bump, never a security fix.

Caveats

🤖 Generated with Claude Code

A separate PR per dependency per week is a treadmill for a solo maintainer,
and five simultaneously open bumps is what it produced. One group per
ecosystem on a monthly cadence caps that at two PRs a month.

Grouping matches on patterns alone. Splitting runtime from dev tooling would
need `dependency-type`, which Dependabot documents as supported for pip but
not uv — and a group that matches nothing falls back to one PR per
dependency, which is the sprawl this is removing.

Security advisories are unaffected: those are raised as they land, outside
both this schedule and the grouping.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@JasonZQH
JasonZQH merged commit 6b1b6c0 into dev Jul 28, 2026
5 checks passed
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