Skip to content

Commit c2ed4a0

Browse files
authored
Merge pull request #80 from dheerajodha/EC-1663
Disable Go version updates in Renovate config
2 parents 01a9da4 + b5762d6 commit c2ed4a0

1 file changed

Lines changed: 1 addition & 48 deletions

File tree

config/renovate/renovate.json

Lines changed: 1 addition & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -48,58 +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": "Group Go patch updates and treat as minor in PR titles",
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-
},
71-
{
72-
// Go Version: Block actual major updates (1.x -> 2.x).
73-
// It also prevents bumps for go-toolset image versions with v9+
74-
"description": "Block Go major version updates beyond v1.x",
75-
"matchPackageNames": [ "golang/go", "docker.io/library/golang", "registry.access.redhat.com/ubi9/go-toolset" ],
76-
"matchDepNames": [ "go", "golang", "docker.io/library/golang", "registry.access.redhat.com/ubi9/go-toolset" ],
77-
// gomod is not included in this packageManagers list, because the go directive in the go.mod means
78-
// "Compatible with this version or later". So it is advisable to not bump this version unless necessary.
79-
// Ref: https://docs.renovatebot.com/modules/manager/gomod/#updating-of-go-mod-and-toolchain-directives
80-
"matchManagers": [ "asdf", "dockerfile" ],
81-
"matchDatasources": [ "docker", "github-tags", "golang-version" ],
82-
"matchUpdateTypes": [ "major" ],
83-
"enabled": false // Block all major Go version updates
84-
},
85-
{
86-
// Go Version: Minor updates (treat as major in PR titles)
87-
"description": "Group Go minor updates and treat as major in PR titles",
88-
"groupName": "go version",
89-
"matchPackageNames": [ "golang/go", "docker.io/library/golang", "registry.access.redhat.com/ubi9/go-toolset" ],
90-
"matchDepNames": [ "go", "golang", "docker.io/library/golang", "registry.access.redhat.com/ubi9/go-toolset" ],
91-
// gomod is not included in this packageManagers list, because the go directive in the go.mod means
92-
// "Compatible with this version or later". So it is advisable to not bump this version unless necessary.
93-
// Ref: https://docs.renovatebot.com/modules/manager/gomod/#updating-of-go-mod-and-toolchain-directives
94-
"matchManagers": [ "asdf", "dockerfile" ],
95-
"matchDatasources": [ "docker", "github-tags", "golang-version" ],
96-
"matchUpdateTypes": [ "minor" ],
97-
"commitMessagePrefix": "🚨",
98-
"labels": [ "renovate", "major", "{{baseBranch}}" ],
99-
"automerge": false,
100-
"commitMessageTopic": "golang version",
101-
"branchTopic": "go-version"
102-
},
10356
{
10457
// Tekton: Safe to auto-merge (infrastructure as code)
10558
"description": "Auto-merge Tekton pipeline updates for non-major versions",

0 commit comments

Comments
 (0)