Skip to content

Commit 937e7e7

Browse files
authored
Fix renovate golang grouping rule
1 parent 9dbe540 commit 937e7e7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

config/renovate/renovate.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
// Go 1.24 -> 1.25 introduces new language features and should be treated carefully
2929
"description": "Treat Go minor updates as major (1.x bumps)",
3030
"matchPackageNames": [ "golang/go", "docker.io/library/golang", "registry.access.redhat.com/ubi9/go-toolset" ], // ASDF/Docker sources
31-
"matchDepNames": [ "go" ], // go.mod directive
31+
"matchDepNames": [ "go", "golang", "docker.io/library/golang", "registry.access.redhat.com/ubi9/go-toolset" ], // go.mod directive
3232
"matchUpdateTypes": [ "minor" ],
3333
"commitMessagePrefix": "🚨",
3434
"labels": [ "renovate", "major" ],
@@ -45,7 +45,7 @@
4545
// Go Dependencies: Group module updates
4646
"description": "Group Go module dependency updates (excluding the go directive which is handled separately)",
4747
"matchManagers": [ "gomod" ],
48-
"matchDepNames": [ "!go" ], // Exclude go directive - it goes to "go version" group
48+
"matchDepNames": [ "!go", "!golang", "!docker.io/library/golang", "!registry.access.redhat.com/ubi9/go-toolset" ], // Exclude go directive - it goes to "go version" group
4949
"groupName": "go modules"
5050
},
5151
{
@@ -63,7 +63,7 @@
6363
"description": "Group Go version updates across ASDF (.tool-versions), go.mod directive, and Dockerfile golang images",
6464
"groupName": "go version",
6565
"matchPackageNames": [ "golang/go", "docker.io/library/golang", "registry.access.redhat.com/ubi9/go-toolset" ], // ASDF + Docker golang
66-
"matchDepNames": [ "go" ], // go.mod directive
66+
"matchDepNames": [ "go", "golang", "docker.io/library/golang", "registry.access.redhat.com/ubi9/go-toolset" ], // go.mod directive
6767
"matchDatasources": [ "docker", "github-tags", "golang-version" ],
6868
"commitMessageTopic": "golang version", // "Update golang version to vX.Y.Z"
6969
"branchTopic": "go-version" // Single branch: renovate/go-version

0 commit comments

Comments
 (0)