From e529a008d47c34fcc63dc6a0808047d01df1d0c2 Mon Sep 17 00:00:00 2001 From: Dheeraj Date: Thu, 26 Feb 2026 20:22:38 +0530 Subject: [PATCH 1/2] Disable Go version updates in Renovate config Go version updates are handled manually, so blocking patch and minor version PRs to reduce noise. resolves: EC-1663 Co-Authored-By: Claude Sonnet 4.5 --- config/renovate/renovate.json | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/config/renovate/renovate.json b/config/renovate/renovate.json index ceea3ac..684632c 100644 --- a/config/renovate/renovate.json +++ b/config/renovate/renovate.json @@ -55,18 +55,19 @@ }, { // Go Version: Patch updates (treat as minor in PR titles) - "description": "Group Go patch updates and treat as minor in PR titles", + "description": "Block Go patch updates - handled manually", "groupName": "go version", "matchPackageNames": [ "golang/go", "docker.io/library/golang", "registry.access.redhat.com/ubi9/go-toolset" ], "matchDepNames": [ "go", "golang", "docker.io/library/golang", "registry.access.redhat.com/ubi9/go-toolset" ], - // gomod is not included in this packageManagers list, because the go directive in the go.mod means + // gomod is not included in this packageManagers list, because the go directive in the go.mod means // "Compatible with this version or later". So it is advisable to not bump this version unless necessary. - // Ref: https://docs.renovatebot.com/modules/manager/gomod/#updating-of-go-mod-and-toolchain-directives + // Ref: https://docs.renovatebot.com/modules/manager/gomod/#updating-of-go-mod-and-toolchain-directives "matchManagers": [ "asdf", "dockerfile" ], "matchDatasources": [ "docker", "github-tags", "golang-version" ], "matchUpdateTypes": [ "patch" ], "commitMessageTopic": "golang version", - "branchTopic": "go-version" + "branchTopic": "go-version", + "enabled": false }, { // Go Version: Block actual major updates (1.x -> 2.x). @@ -83,12 +84,12 @@ "enabled": false // Block all major Go version updates }, { - // Go Version: Minor updates (treat as major in PR titles) - "description": "Group Go minor updates and treat as major in PR titles", + // Go Version: Minor updates (treat as major in PR titles) + "description": "Block Go minor updates - handled manually", "groupName": "go version", "matchPackageNames": [ "golang/go", "docker.io/library/golang", "registry.access.redhat.com/ubi9/go-toolset" ], "matchDepNames": [ "go", "golang", "docker.io/library/golang", "registry.access.redhat.com/ubi9/go-toolset" ], - // gomod is not included in this packageManagers list, because the go directive in the go.mod means + // gomod is not included in this packageManagers list, because the go directive in the go.mod means // "Compatible with this version or later". So it is advisable to not bump this version unless necessary. // Ref: https://docs.renovatebot.com/modules/manager/gomod/#updating-of-go-mod-and-toolchain-directives "matchManagers": [ "asdf", "dockerfile" ], @@ -98,7 +99,8 @@ "labels": [ "renovate", "major", "{{baseBranch}}" ], "automerge": false, "commitMessageTopic": "golang version", - "branchTopic": "go-version" + "branchTopic": "go-version", + "enabled": false }, { // Tekton: Safe to auto-merge (infrastructure as code) From b5762d6e5e882bc994194deb3c83cbf27f3940a5 Mon Sep 17 00:00:00 2001 From: Dheeraj Date: Wed, 4 Mar 2026 19:18:22 +0530 Subject: [PATCH 2/2] Remove disabled Go version update rules from Renovate config Deleted the three disabled Go version package rules (patch, minor, and major updates) to keep the configuration cleaner. The rules were serving no purpose while disabled, and the rationale (Go updates handled manually) is already documented in the previous commit. Co-Authored-By: Claude Sonnet 4.5 --- config/renovate/renovate.json | 51 +---------------------------------- 1 file changed, 1 insertion(+), 50 deletions(-) diff --git a/config/renovate/renovate.json b/config/renovate/renovate.json index 684632c..2c9423f 100644 --- a/config/renovate/renovate.json +++ b/config/renovate/renovate.json @@ -48,60 +48,11 @@ "groupName": "github actions" }, { - // Group JavaScript/Node.js dependency updates + // Group JavaScript/Node.js dependency updates "description": "Group npm dependency updates", "matchManagers": [ "npm" ], "groupName": "npm dependencies" }, - { - // Go Version: Patch updates (treat as minor in PR titles) - "description": "Block Go patch updates - handled manually", - "groupName": "go version", - "matchPackageNames": [ "golang/go", "docker.io/library/golang", "registry.access.redhat.com/ubi9/go-toolset" ], - "matchDepNames": [ "go", "golang", "docker.io/library/golang", "registry.access.redhat.com/ubi9/go-toolset" ], - // gomod is not included in this packageManagers list, because the go directive in the go.mod means - // "Compatible with this version or later". So it is advisable to not bump this version unless necessary. - // Ref: https://docs.renovatebot.com/modules/manager/gomod/#updating-of-go-mod-and-toolchain-directives - "matchManagers": [ "asdf", "dockerfile" ], - "matchDatasources": [ "docker", "github-tags", "golang-version" ], - "matchUpdateTypes": [ "patch" ], - "commitMessageTopic": "golang version", - "branchTopic": "go-version", - "enabled": false - }, - { - // Go Version: Block actual major updates (1.x -> 2.x). - // It also prevents bumps for go-toolset image versions with v9+ - "description": "Block Go major version updates beyond v1.x", - "matchPackageNames": [ "golang/go", "docker.io/library/golang", "registry.access.redhat.com/ubi9/go-toolset" ], - "matchDepNames": [ "go", "golang", "docker.io/library/golang", "registry.access.redhat.com/ubi9/go-toolset" ], - // gomod is not included in this packageManagers list, because the go directive in the go.mod means - // "Compatible with this version or later". So it is advisable to not bump this version unless necessary. - // Ref: https://docs.renovatebot.com/modules/manager/gomod/#updating-of-go-mod-and-toolchain-directives - "matchManagers": [ "asdf", "dockerfile" ], - "matchDatasources": [ "docker", "github-tags", "golang-version" ], - "matchUpdateTypes": [ "major" ], - "enabled": false // Block all major Go version updates - }, - { - // Go Version: Minor updates (treat as major in PR titles) - "description": "Block Go minor updates - handled manually", - "groupName": "go version", - "matchPackageNames": [ "golang/go", "docker.io/library/golang", "registry.access.redhat.com/ubi9/go-toolset" ], - "matchDepNames": [ "go", "golang", "docker.io/library/golang", "registry.access.redhat.com/ubi9/go-toolset" ], - // gomod is not included in this packageManagers list, because the go directive in the go.mod means - // "Compatible with this version or later". So it is advisable to not bump this version unless necessary. - // Ref: https://docs.renovatebot.com/modules/manager/gomod/#updating-of-go-mod-and-toolchain-directives - "matchManagers": [ "asdf", "dockerfile" ], - "matchDatasources": [ "docker", "github-tags", "golang-version" ], - "matchUpdateTypes": [ "minor" ], - "commitMessagePrefix": "🚨", - "labels": [ "renovate", "major", "{{baseBranch}}" ], - "automerge": false, - "commitMessageTopic": "golang version", - "branchTopic": "go-version", - "enabled": false - }, { // Tekton: Safe to auto-merge (infrastructure as code) "description": "Auto-merge Tekton pipeline updates for non-major versions",