From 293c5235351886e545f162a9a65c5a9aa7dc26e7 Mon Sep 17 00:00:00 2001 From: Jonathan Hess Date: Fri, 22 Nov 2024 10:22:25 -0700 Subject: [PATCH] chore: Fix the order of renovate package rules. According to renovate documentation, the list should be ordered so that low priority rules are at the beginning of the list and high priority rulesthe highest priority rule is at the end of the list. A dependency that matches multiple rules will be added to the last group that it matches. --- .github/renovate.json | 34 ++++++++++++++++------------------ 1 file changed, 16 insertions(+), 18 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index c9f20c9a..1acff66b 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -7,13 +7,23 @@ "postUpdateOptions": [ "gomodTidy" ], - "prConcurrentLimit": 5, + "prConcurrentLimit": 8, "packageRules": [ { - "matchManagers": ["github-actions"], - "groupName": "Github action dependencies" + "matchManagers": ["dockerfile"], + "groupName": "Container image updates" }, { + "groupName": "Go dependency updates", + "matchManagers": ["gomod"], + "matchUpdateTypes": ["minor", "patch", "pin", "digest"] + }, + { + "groupName": "Github Actions", + "matchManagers": ["github-actions"] + }, + { + "groupName": "Build Tools", "matchPackagePatterns": [ "^cert-manager/cert-manager", "^github.com/elastic/crd-ref-docs", @@ -21,29 +31,17 @@ "^google-beta", "^hashicorp/terraform" ], - "groupName": "Build Tools" + "matchManagers": ["regex","terraform"] }, { + "groupName": "Kubernetes Runtime", "matchPackagePatterns": [ "^kubernetes", "^k8s.io/client-go", "^sigs.k8s.io/controller-runtime", "^sigs.k8s.io/controller-tools" ], - "matchManagers": ["gomod"], - "groupName": "Kubernetes runtime dependencies" - }, - { - "matchManagers": ["dockerfile"], - "groupName": "Container image updates" - }, - { - "groupName": "Go dependency updates", - "matchUpdateTypes": ["minor", "patch", "pin", "digest"] - }, - { - "groupName": "Other dependency updates", - "matchUpdateTypes": ["minor", "patch", "pin", "digest"] + "matchManagers": ["gomod","regex"] } ], "regexManagers": [