Skip to content

chore: stop dependabot opening major-version PRs - #15

Merged
cococool13 merged 1 commit into
mainfrom
chore/dependabot-ignore-majors
Jul 27, 2026
Merged

chore: stop dependabot opening major-version PRs#15
cococool13 merged 1 commit into
mainfrom
chore/dependabot-ignore-majors

Conversation

@cococool13

Copy link
Copy Markdown
Owner

Follow-up to closing the 9 Dependabot PRs on this repo.

The groups block only covers minor and patch, so every major arrived as its own PR:

zod          3.25.76 -> 4.4.3   (twice: / and /desktop)
vite           7.3.6 -> 8.1.5
typescript     5.9.3 -> 7.0.2
@types/node  20.19.43 -> 26.1.1

All closed unmerged. Adding ignore for version-update:semver-major on all three npm/cargo entries.

Security updates still come through

ignore applies to version updates only — Dependabot security PRs bypass it entirely. Given this repo carried a critical vitest advisory until #5, that distinction is the whole point: the critical would still have opened a PR under this config.

github-actions deliberately keeps majors

Grouped with patterns: ["*"], so a major costs one PR, not many. Tell me if you'd rather suppress those too.

Why majors should be manual here

The vitest 1→4 upgrade in #5 needed a verified coverage run, and the obvious brace-expansion override had to be rejected — it made npm audit read clean while breaking npm run test:coverage. No automated bump catches that.

Test plan

  • YAML parses; all 4 ecosystems resolve with expected directories
  • ignore present on npm /, npm /desktop, cargo /desktop/src-tauri; absent on github-actions
  • ignore serialises to the exact shape Dependabot expects
  • CI: pytest + ruff, Windows build, PSScriptAnalyzer, collection vitest

Grouping only covers minor and patch, so every major arrived as its own PR
— 9 on the first run (zod 3->4, vite 7->8, typescript 5->7,
@types/node 20->26, and so on). All 9 were closed unmerged.

Majors get done deliberately instead. The vitest 1->4 upgrade is the case
in point: it needed a verified coverage run, and the obvious-looking
brace-expansion override had to be rejected because it broke
npm run test:coverage.

Security updates are unaffected — Dependabot security PRs bypass ignore.

github-actions keeps majors: it is grouped into a single PR, so a major
there costs one PR rather than many.
Copilot AI review requested due to automatic review settings July 27, 2026 12:13

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@cococool13
cococool13 merged commit 5cf9333 into main Jul 27, 2026
4 checks passed
@cococool13
cococool13 deleted the chore/dependabot-ignore-majors branch July 27, 2026 12:23
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.

2 participants