Skip to content

Commit b5762d6

Browse files
dheerajodhaclaude
andcommitted
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 <noreply@anthropic.com>
1 parent e529a00 commit b5762d6

1 file changed

Lines changed: 1 addition & 50 deletions

File tree

config/renovate/renovate.json

Lines changed: 1 addition & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -48,60 +48,11 @@
4848
"groupName": "github actions"
4949
},
5050
{
51-
// Group JavaScript/Node.js dependency updates
51+
// Group JavaScript/Node.js dependency updates
5252
"description": "Group npm dependency updates",
5353
"matchManagers": [ "npm" ],
5454
"groupName": "npm dependencies"
5555
},
56-
{
57-
// Go Version: Patch updates (treat as minor in PR titles)
58-
"description": "Block Go patch updates - handled manually",
59-
"groupName": "go version",
60-
"matchPackageNames": [ "golang/go", "docker.io/library/golang", "registry.access.redhat.com/ubi9/go-toolset" ],
61-
"matchDepNames": [ "go", "golang", "docker.io/library/golang", "registry.access.redhat.com/ubi9/go-toolset" ],
62-
// gomod is not included in this packageManagers list, because the go directive in the go.mod means
63-
// "Compatible with this version or later". So it is advisable to not bump this version unless necessary.
64-
// Ref: https://docs.renovatebot.com/modules/manager/gomod/#updating-of-go-mod-and-toolchain-directives
65-
"matchManagers": [ "asdf", "dockerfile" ],
66-
"matchDatasources": [ "docker", "github-tags", "golang-version" ],
67-
"matchUpdateTypes": [ "patch" ],
68-
"commitMessageTopic": "golang version",
69-
"branchTopic": "go-version",
70-
"enabled": false
71-
},
72-
{
73-
// Go Version: Block actual major updates (1.x -> 2.x).
74-
// It also prevents bumps for go-toolset image versions with v9+
75-
"description": "Block Go major version updates beyond v1.x",
76-
"matchPackageNames": [ "golang/go", "docker.io/library/golang", "registry.access.redhat.com/ubi9/go-toolset" ],
77-
"matchDepNames": [ "go", "golang", "docker.io/library/golang", "registry.access.redhat.com/ubi9/go-toolset" ],
78-
// gomod is not included in this packageManagers list, because the go directive in the go.mod means
79-
// "Compatible with this version or later". So it is advisable to not bump this version unless necessary.
80-
// Ref: https://docs.renovatebot.com/modules/manager/gomod/#updating-of-go-mod-and-toolchain-directives
81-
"matchManagers": [ "asdf", "dockerfile" ],
82-
"matchDatasources": [ "docker", "github-tags", "golang-version" ],
83-
"matchUpdateTypes": [ "major" ],
84-
"enabled": false // Block all major Go version updates
85-
},
86-
{
87-
// Go Version: Minor updates (treat as major in PR titles)
88-
"description": "Block Go minor updates - handled manually",
89-
"groupName": "go version",
90-
"matchPackageNames": [ "golang/go", "docker.io/library/golang", "registry.access.redhat.com/ubi9/go-toolset" ],
91-
"matchDepNames": [ "go", "golang", "docker.io/library/golang", "registry.access.redhat.com/ubi9/go-toolset" ],
92-
// gomod is not included in this packageManagers list, because the go directive in the go.mod means
93-
// "Compatible with this version or later". So it is advisable to not bump this version unless necessary.
94-
// Ref: https://docs.renovatebot.com/modules/manager/gomod/#updating-of-go-mod-and-toolchain-directives
95-
"matchManagers": [ "asdf", "dockerfile" ],
96-
"matchDatasources": [ "docker", "github-tags", "golang-version" ],
97-
"matchUpdateTypes": [ "minor" ],
98-
"commitMessagePrefix": "🚨",
99-
"labels": [ "renovate", "major", "{{baseBranch}}" ],
100-
"automerge": false,
101-
"commitMessageTopic": "golang version",
102-
"branchTopic": "go-version",
103-
"enabled": false
104-
},
10556
{
10657
// Tekton: Safe to auto-merge (infrastructure as code)
10758
"description": "Auto-merge Tekton pipeline updates for non-major versions",

0 commit comments

Comments
 (0)