From ad6ffc455c85b2cd58d94ad7fe377a79c52b3c7a Mon Sep 17 00:00:00 2001 From: Brenton Strickler Date: Wed, 7 Oct 2026 10:47:11 -0400 Subject: [PATCH] chore(deps): group Dependabot updates into one PR per ecosystem per week Individual Dependabot PRs get closed and hand-consolidated, and with CI taking about an hour each PR triggers a rebase-and-rerun cascade. Replace the narrow test-dependencies and tantivy-ecosystem groups with a catch-all group per ecosystem (Maven, Cargo, GitHub Actions) so the Monday run opens at most one version-update PR per ecosystem. Security updates get their own group per ecosystem so they stay off the weekly PR. --- .github/dependabot.yml | 38 +++++++++++++++++++++++++++++++++----- 1 file changed, 33 insertions(+), 5 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index ef522a6..500d40c 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,3 +1,12 @@ +# One grouped PR per ecosystem per week: each ecosystem's catch-all group below takes +# every version update (major, minor and patch) into a single PR. Dependabot assigns a +# dependency to the first matching group and gives anything unmatched its own PR, so the +# "*" pattern must stay in place. The previous test-dependencies (Maven) and +# tantivy-ecosystem (Cargo) groups are folded in: their members still move together, +# now alongside everything else. A bump that breaks CI should be dropped from the PR +# with "@dependabot ignore " rather than splitting the group. +# Security updates are raised on advisory publication, not the weekly schedule, so each +# ecosystem also gets a security-updates group to keep them out of the weekly PR. version: 2 updates: - package-ecosystem: maven @@ -7,8 +16,14 @@ updates: day: monday open-pull-requests-limit: 10 groups: - test-dependencies: - dependency-type: development + all-maven-updates: + applies-to: version-updates + patterns: + - "*" + maven-security-updates: + applies-to: security-updates + patterns: + - "*" - package-ecosystem: cargo directory: /native @@ -17,10 +32,14 @@ updates: day: monday open-pull-requests-limit: 10 groups: - tantivy-ecosystem: + all-cargo-updates: + applies-to: version-updates + patterns: + - "*" + cargo-security-updates: + applies-to: security-updates patterns: - - "tantivy*" - - "quickwit*" + - "*" - package-ecosystem: github-actions directory: / @@ -28,3 +47,12 @@ updates: interval: weekly day: monday open-pull-requests-limit: 5 + groups: + all-github-actions-updates: + applies-to: version-updates + patterns: + - "*" + github-actions-security-updates: + applies-to: security-updates + patterns: + - "*"