From 6f0aa2e5535a9aaf32f8f35ec0f3be6e6607ff21 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Mon, 1 Jul 2024 13:17:46 +0200 Subject: [PATCH] Fix patterns in dependabot.yml 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 --- .github/dependabot.yml | 28 ++++++++-------------------- 1 file changed, 8 insertions(+), 20 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 43a188a..2638fab 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -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: "/"