From 55d82befd1808ddde5162ce369a316b23d2485d2 Mon Sep 17 00:00:00 2001 From: HarshwardhanPatil07 Date: Mon, 2 Nov 2026 11:48:48 +0530 Subject: [PATCH] renovate: Split direct and indirect Go updates Independent indirect updates can break coupled libraries and block otherwise compatible direct updates in a shared Go PR, as seen in bootc-dev/bootc-operator#280. Keep indirect updates visible for review in a separate group while filtering Go versions and tidying module changes. Assisted-by: AI Signed-off-by: HarshwardhanPatil07 --- renovate-shared-config.json | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/renovate-shared-config.json b/renovate-shared-config.json index 3186314..30b6ec8 100644 --- a/renovate-shared-config.json +++ b/renovate-shared-config.json @@ -128,11 +128,23 @@ "groupName": "GitHub Actions", "enabled": true }, - // Group Go module dependencies + // Group direct Go updates separately from indirect updates. Go version, + // toolchain, and replacement updates also remain in this group. { - "description": ["Go dependencies"], + "description": ["Direct Go dependencies and module directives"], "matchManagers": ["gomod"], - "groupName": "Go", + "groupName": "Go direct", + "constraintsFiltering": "strict", + "postUpdateOptions": ["gomodTidy"] + }, + // Keep independent indirect updates visible for review without letting a + // broken transitive upgrade block direct updates in the same grouped PR. + // See https://github.com/bootc-dev/bootc-operator/pull/280. + { + "description": ["Group indirect Go dependencies separately"], + "matchManagers": ["gomod"], + "matchDepTypes": ["indirect"], + "groupName": "Go indirect", "enabled": true }, // Group Rust dependencies