Repository navigation
ci: group dependabot updates and run checks monthly - #125
Merged
Merged
Conversation
Dependabot opens one PR per dependency unless an update entry has a groups block. Add a catch-all group to every entry so each ecosystem lands as a single PR per run. Security updates stay separate.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Group Dependabot updates into one PR per ecosystem and run the checks monthly instead of weekly.
Why: every dependency bump currently opens its own PR, and each one costs a full CI run and a separate review. Batching cuts that to one PR per ecosystem per check.
Every update entry gets a catch-all group. Dependabot only batches when an entry has a
groupsblock, and none of the entries had one. Groups added:github-actions,go-modules,go-tools.- package-ecosystem: "gomod" directory: "/" schedule: interval: "weekly" cooldown: default-days: 7 + groups: + go-modules: + patterns: + - "*"Checks run monthly instead of weekly. Every entry that was on a weekly schedule now runs monthly, so batched PRs arrive once a month per ecosystem. The quarterly
.toolsentries already check less often than that and are unchanged.- package-ecosystem: "gomod" directory: "/" schedule: - interval: "weekly" + interval: "monthly"Things that are fine as they are
applies-to: security-updatesto a group would change that, and was deliberately left out.