Skip to content

Commit

Permalink
Fix patterns in dependabot.yml (#70)
Browse files Browse the repository at this point in the history
The new dependabot file updated by #61 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.
  • Loading branch information
llucax authored Jul 1, 2024
2 parents c532b2d + 6f0aa2e commit 612a1f8
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 612a1f8

Please sign in to comment.