chore(renovate): skip major updates of indirect Go modules
A new major version of a Go module is a separate module path. For an indirect dependency nothing imports it, so Renovate only adds an unused requirement, as in #24 (go.yaml.in/yaml/v3 to v4). Minor and patch updates of indirect modules stay enabled. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
25c03fff9d
commit
2cadea30c7
1 file changed
+13
@@ -25,6 +25,19 @@
|
||||
],
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"description": "Skip major updates of indirect Go modules: a new major version is a separate module path that no dependency imports, so the update only adds an unused requirement",
|
||||
"matchManagers": [
|
||||
"gomod"
|
||||
],
|
||||
"matchDepTypes": [
|
||||
"indirect"
|
||||
],
|
||||
"matchUpdateTypes": [
|
||||
"major"
|
||||
],
|
||||
"enabled": false
|
||||
},
|
||||
{
|
||||
"description": "Update the Go version declared in go.mod",
|
||||
"matchManagers": [
|
||||
|
||||
Reference in new issue
Block a user