Skip to content

Dependabot: add a per-ecosystem 'majors' group (kill cross-dir duplicates) - #76

Merged
mmcky merged 1 commit into
mainfrom
chore/dependabot-group-majors
Jun 16, 2026
Merged

mmcky merged 1 commit into
mainfrom
chore/dependabot-group-majors

Conversation

@mmcky

@mmcky mmcky commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #67. "Majors individual" backfired: because github-actions scans 8 composite-action directories, the same action major showed up as one PR per directory — actions/cache 4→5 ×3, actions/upload-artifact 4→7 ×3, actions/github-script 7→9 ×2, plus nodejs ×2 — ~13 duplicate PRs.

Fix

Each ecosystem now has two groups:

  • <eco> — minor/patch updates (low-risk; safe to merge together)
  • <eco>-major — major updates (review carefully)

So updates collapse to at most two PRs per ecosystem (a safe one + a majors one), with no per-directory duplicates. The known-bad bumps stay blocked: jupyter-book major (stay 1.x) and ubuntu (stay 24.04 LTS).

Result after merge

Dependabot re-reconciles and supersedes/closes the duplicated individual PRs, leaving roughly:

~16 → ~3, majors isolated in a dedicated PR to scrutinise.

🤖 Generated with Claude Code

…icates

'Majors individual' duplicated the same action across the 8 composite-action
directories (actions/cache x3, upload-artifact x3, github-script x2, ...).
Each ecosystem now has two groups — minor/patch and major — so updates land
as at most two PRs per ecosystem (a safe one and a review-carefully majors
one), with no per-directory duplicates. jupyter-book(major) and ubuntu stay
ignored.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 16, 2026 07:39
@mmcky
mmcky merged commit dce58f8 into main Jun 16, 2026
1 check passed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adjusts Dependabot grouping so that each ecosystem produces at most two PRs (minor/patch vs major), preventing duplicate PRs caused by scanning multiple action directories in the github-actions ecosystem.

Changes:

  • Added per-ecosystem *-major Dependabot groups to bundle major updates into a single PR per ecosystem.
  • Updated header/docs in the Dependabot config to reflect the new two-group strategy per ecosystem.
  • Applied the same minor/patch vs major split consistently across conda, github-actions, and docker.

@mmcky
mmcky deleted the chore/dependabot-group-majors branch June 16, 2026 07:41
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