From a69fd783af88bf778040a68a9f4e0afa64464c25 Mon Sep 17 00:00:00 2001 From: Chad Roberts Date: Tue, 5 May 2026 10:13:35 -0400 Subject: [PATCH] Reduce renovate PR noise (#260) --- .github/renovate.json | 51 ++++++++++++++++++++++++++++++++++--------- 1 file changed, 41 insertions(+), 10 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index 3e247ee..7f181bd 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -4,29 +4,60 @@ ], "baseBranchPatterns": [ "main", - "release/v0.3", + "release/v0.7", + "release/v0.6", + "release/v0.5", "release/v0.4", - "release/v0.5" + "release/v0.3" ], "prHourlyLimit": 2, + "enabledManagers": [ + "github-actions", + "custom.regex", + "gomod" + ], "packageRules": [ { "enabled": false, "matchPackageNames": [ "/k8s.io/*/", "/sigs.k8s.io/*/", - "/github.com/prometheus/*/" + "/github.com/prometheus/*/", + "/github.com/rancher/wrangler/*/" ] }, { - "matchUpdateTypes": [ - "major", - "minor" - ], - "enabled": false, + "description": "Disable major updates on release branches", + "matchUpdateTypes": ["major"], + "matchBaseBranches": ["/^release\\//"], + "enabled": false + }, + { + "description": "Do not bump golang.org/x/tools minor/major on release branches - it tracks Go language releases and bumping it forces a go directive minor bump", + "matchPackageNames": ["golang.org/x/tools"], + "matchUpdateTypes": ["major", "minor"], + "matchBaseBranches": ["/^release\\//"], + "enabled": false + }, + { + "description": "Do not bump the Go minor/major version on release branches", + "matchDepNames": ["go"], + "matchUpdateTypes": ["major", "minor"], + "matchBaseBranches": ["/^release\\//"], + "enabled": false + }, + { + "description": "Group all GitHub Actions updates into a single PR per branch", + "matchManagers": ["github-actions"], + "groupName": "GitHub Actions", + "separateMajorMinor": false + }, + { + "description": "Group golang.org/x/* packages into a single PR per branch", "matchPackageNames": [ - "/github.com/rancher/wrangler/*/" - ] + "/^golang\\.org\\/x\\//" + ], + "groupName": "golang.org/x packages" } ] }