Skip to content

ci(repo): Dependabot keeps to minor and patch updates - #74

Merged
arbianst merged 1 commit into
mainfrom
ci/dependabot-minor-patch
Nov 3, 2026
Merged

arbianst merged 1 commit into
mainfrom
ci/dependabot-minor-patch

Conversation

@arbianst

@arbianst arbianst commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Dependabot keeps to minor and patch updates

The first monthly groups brought two kinds of pull request a person has to look at: majors of development tooling that broke lint, and majors of the actions the release and publish workflows run on, which no pull request ever exercises. Both ecosystems now ignore version-update:semver-major, so the monthly groups stay inside minor and patch and merge on green. Majors are a deliberate change by a person.

Security updates are not affected by ignore rules: a vulnerable package still gets its pull request whatever version jump the fix needs.

Verification

The file parses, and Dependabot validates it when it lands on the default branch. The open groups that the new rules exclude can be closed; Dependabot does not reopen them.

🤖 Generated with Claude Code

The first monthly groups brought majors of development tooling that
broke lint, and majors of the actions the release workflows run on,
which no pull request exercises. Majors are now left to a person.
Security updates are not affected by the ignore rules.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing blocking. The comments below are optional suggestions. There is no need to push a fix for them before merging.

Comment thread .github/dependabot.yml
Comment on lines +15 to +17
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-major"]

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 (optional) Maintainers will still get monthly groups with lint-breaking upgrades of 0.x tools like ruff, because Dependabot labels 0.x bumps as minor. The new version-update:semver-major ignore only covers bumps of the first version number. The lint-breaking bump in b49dc05 (ruff 0.14.13 to 0.17.3) was tagged update-type: version-update:semver-minor, so this rule would not have blocked it. Fix: also ignore version-update:semver-minor for the 0.x dependencies in uv.lock (at least ruff, respx, httpx-aiohttp), so a pre-1.0 minor bump is treated as a major and left to a person.

Why this was flagged

The uv entry at .github/dependabot.yml:15-17 ignores only version-update:semver-major. For versions below 1.0, Dependabot treats a change in the second number as a minor update, not a major one. Evidence is commit b49dc05 ("ci(deps): bump the lockfile group with 6 updates"), whose metadata marks ruff 0.14.13 -> 0.17.3, respx 0.22.0 -> 0.23.1 and httpx-aiohttp 0.1.12 -> 0.2.0 (direct:production) as version-update:semver-minor. That ruff jump is the dev-tool upgrade the new header comment (lines 4-7) blames for breaking lint. uv.lock:1369-1370 now has ruff 0.17.3, and pyproject.toml lists ruff with no version bound, so lockfile-only adds no ceiling either. After merging, the next ruff 0.x release still arrives in the grouped lockfile PR. That is the same breaking-tool PR the change is meant to stop, and the PR says these groups "merge on green" without a person. The ignore rule blocks only 1.x+ majors such as rich 15.0.0 or importlib-metadata 9.0.1. Pre-1.0 tooling, where breaking changes ship as minors, gets no protection.

Verification: The new rule at .github/dependabot.yml:15-17 ignores only update-types: ["version-update:semver-major"]. Commit b49dc05, an ancestor of the base 543da88, labels ruff 0.17.3 version-update:semver-minor, so the new rule would not have blocked it. The base is no worse after this change, and CI lint still runs on the Dependabot branch.

@arbianst
arbianst merged commit bc487cd into main Nov 3, 2026
8 checks passed
@arbianst
arbianst deleted the ci/dependabot-minor-patch branch November 3, 2026 13:40
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