From b6ccb20b3cf2a269afaf8ffb432b9bc4109251e9 Mon Sep 17 00:00:00 2001 From: Kim Tsao <84398375+kim-tsao@users.noreply.github.com> Date: Thu, 12 Dec 2024 07:24:35 -0500 Subject: [PATCH] chore(renovate): disable minor updates (#559) Signed-off-by: Kim Tsao --- .github/renovate.json | 83 +++++++++++-------------------------------- 1 file changed, 21 insertions(+), 62 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index b5843c04..e06b10b8 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -3,7 +3,6 @@ "config:best-practices", ":gitSignOff", ":rebaseStalePrs", - "group:allNonMajor", "docker:disableMajor", "default:pinDigestsDisabled", "helpers:pinGitHubActionDigests" @@ -26,6 +25,27 @@ "gomodTidy" ], "packageRules": [ + { + "enabled": false, + "groupName": "all minor dependencies", + "groupSlug": "all-minor", + "matchPackageNames": [ + "*" + ], + "matchUpdateTypes": [ + "minor" + ] + }, + { + "groupName": "all patch dependencies", + "groupSlug": "all-patch", + "matchPackageNames": [ + "*" + ], + "matchUpdateTypes": [ + "patch" + ] + }, { "description": "Do NOT generate PRs to pin or apply digests to dockerfiles", "enabled": false, @@ -68,67 +88,6 @@ "automerge": true, "pinDigests": false }, - { - "description": "k8s go: disable minor updates in 1.y (these branches use go < 1.22)", - "enabled": false, - "groupName": "k8s-go 1.y", - "matchDatasources": [ - "go" - ], - "matchUpdateTypes": [ - "minor" - ], - "matchBaseBranches": [ - "/^release-1\\.3/", - "/^1\\.2\\.x/" - ], - "automerge": false, - "matchPackageNames": [ - "k8s.io/api{/,}**", - "k8s.io/apimachinery{/,}**", - "k8s.io/client-go{/,}**", - "sigs.k8s.io{/,}**", - "github.com/openshift{/,}**" - ] - }, - { - "description": "ginkgo: disable minor updates only in 1.y (disabled because Go 1.22+ is required since ginkgo 2.20.2)", - "enabled": false, - "groupName": "ginkgo 1.y", - "matchDatasources": [ - "go" - ], - "matchUpdateTypes": [ - "minor" - ], - "matchBaseBranches": [ - "/^release-1\\.3/", - "/^1\\.2\\.x/" - ], - "automerge": false, - "matchPackageNames": [ - "github.com/onsi/ginkgo/v2{/,}**" - ] - }, - { - "description": "gomega: patch updates only in 1.y (disabled since Go 1.22+ is required since gomega 1.34.2)", - "enabled": false, - "groupName": "gomega 1.y", - "matchDatasources": [ - "go" - ], - "matchUpdateTypes": [ - "minor" - ], - "matchBaseBranches": [ - "/^release-1\\..*/", - "/^1\\.2\\.x/" - ], - "automerge": false, - "matchPackageNames": [ - "github.com/onsi/gomega{/,}**" - ] - }, { "description": "Do NOT generate PRs for major go dependency updates ", "enabled": false,