From d3802e1a3795bb63a9790f3e6838da14e316328b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Untersch=C3=BCtz?= Date: Fri, 13 Nov 2026 23:24:31 +0100 Subject: [PATCH] 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 --- renovate.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/renovate.json b/renovate.json index 66fcfbe..65ed349 100644 --- a/renovate.json +++ b/renovate.json @@ -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": [