Skip to content

Commit

Permalink
Fix patterns in dependabot.yml
Browse files Browse the repository at this point in the history
The new dependabot file had many issues that we fix in this commit:

* The patterns should be glob-like patterns instead of regex patterns.
* We should `exclude-patterns` instead of `patterns` (with a negating
  regex) to exclude some dependencies.
* We don't actually need the `*-minor` groups, as anything that is not
  grouped will have a separate PR anyway.

Signed-off-by: Leandro Lucarella <[email protected]>
  • Loading branch information
llucax committed Jul 1, 2024
1 parent c532b2d commit 6f0aa2e
Showing 1 changed file with 8 additions and 20 deletions.
28 changes: 8 additions & 20 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,36 +25,24 @@ updates:
update-types:
- "minor"
- "patch"
patterns:
- "^(?!frequenz-client-base\\[grpclib\\]).*$"
- "^(?!frequenz-microgrid-betterproto).*$"
exclude-patterns:
- "frequenz-client-base*"
- "frequenz-microgrid-betterproto*"
optional:
dependency-type: "development"
update-types:
- "minor"
- "patch"
patterns:
- "^(?!frequenz-client-base\\[grpclib\\]).*$"
- "^(?!frequenz-microgrid-betterproto).*$"
exclude-patterns:
- "frequenz-client-base*"
- "frequenz-microgrid-betterproto*"
in-devel-patch:
patterns:
- "^frequenz-client-base\\[grpclib\\].*$"
- "^frequenz-microgrid-betterproto.*$"
- "frequenz-client-base*"
- "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 6f0aa2e

Please sign in to comment.