Reduce renovate PR noise (#260)

This commit is contained in:
Chad Roberts
2026-05-05 10:13:35 -04:00
committed by GitHub
parent 41d3898380
commit a69fd783af

51
.github/renovate.json vendored
View File

@@ -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"
}
]
}