Skip to content

Commit

Permalink
Configure dependabot to have separate minor updates for in-devel deps (
Browse files Browse the repository at this point in the history
…#61)

The `frequenz-client-base` and `frequenz-microgrid-betterproto`
dependencies are in-development and every minor update is potentially
(and very likely) a breaking change. Because of this we want dependabot
to create separate PRs for minor updates for these dependencies.

For patch updates we still want to group them together, because they not
supposed to be breaking changes.
  • Loading branch information
llucax committed Jul 1, 2024
2 parents bcdaf04 + f50679f commit 86a70ca
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,36 @@ updates:
update-types:
- "minor"
- "patch"
patterns:
- "^(?!frequenz-client-base\\[grpclib\\]).*$"
- "^(?!frequenz-microgrid-betterproto).*$"
optional:
dependency-type: "development"
update-types:
- "minor"
- "patch"
patterns:
- "^(?!frequenz-client-base\\[grpclib\\]).*$"
- "^(?!frequenz-microgrid-betterproto).*$"
in-devel-patch:
patterns:
- "^frequenz-client-base\\[grpclib\\].*$"
- "^frequenz-microgrid-betterproto.*$"
dependency-type: "production"
update-types:
- "patch"
client-base-minor:
patterns:
- "^frequenz-client-base\\[grpclib\\].*$"
dependency-type: "production"
update-types:
- "minor"
microgrid-betterproto-minor:
patterns:
- "^frequenz-microgrid-betterproto.*$"
dependency-type: "production"
update-types:
- "minor"

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

0 comments on commit 86a70ca

Please sign in to comment.