Skip to content

Commit

Permalink
ci: Group dependabot updates (#478)
Browse files Browse the repository at this point in the history
Closes #462

Tries to avoid the flood of package updates by grouping them into
categories.
- Hugr packages get their own group
- Dev dependencies get grouped together as long as they are not breaking
changes.
- Patch releases and minor releases get their own groups
- Any major release gets its own PR

<img width="569" alt="image"
src="https://github.com/user-attachments/assets/b77387ba-0518-49b6-9d18-65f31825b4a6">
  • Loading branch information
aborgna-q committed Jul 12, 2024
1 parent f0529b4 commit 7cdb2d5
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,37 @@ updates:
commit-message:
# Use a conventional commit tag
prefix: "chore(deps-rs)"
groups:
hugr:
patterns: ["hugr*"]
dev:
dependency-type: "development"
update-types: ["patch", "minor"]
patch:
update-types: ["patch"]
minor:
update-types: ["minor"]
# Major updates still generate individual PRs

- package-ecosystem: "pip"
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
commit-message:
# Use a conventional commit tag
prefix: "chore(deps-py)"
groups:
hugr:
patterns: ["hugr*"]
dev:
dependency-type: "development"
update-types: ["patch", "minor"]
patch:
update-types: ["patch"]
minor:
update-types: ["minor"]
# Major updates still generate individual PRs

- package-ecosystem: "github-actions"
directory: "/"
schedule:
Expand Down

0 comments on commit 7cdb2d5

Please sign in to comment.