From bd360520e7c71f83062b844ee2d31d9f3b63d00f Mon Sep 17 00:00:00 2001 From: Konrad Heimel Date: Wed, 19 Aug 2026 18:55:56 +0200 Subject: [PATCH] :wrench: chore(renovate): let renovate tidy go.sum itself Both Go dependency PRs this round arrived with stale go.sum entries and failed preflight's `go mod tidy && git diff --exit-code go.sum`: #319 kubernetes packages v0.36.3 -- 16 stale lines #322 go minor and patch -- same failure Renovate updates go.mod and appends the new hashes but does not remove the superseded ones unless asked. postUpdateOptions gomodTidy makes it run `go mod tidy` after each update, so these PRs arrive green instead of needing a hand-pushed fixup commit every time. Applies to every gomod-managed group, so it also covers the kubernetes and future go groups, not just the one that happened to fail today. --- renovate.json | 1 + 1 file changed, 1 insertion(+) diff --git a/renovate.json b/renovate.json index 0e40c1fa..4f44e5a3 100644 --- a/renovate.json +++ b/renovate.json @@ -5,6 +5,7 @@ ":disableDependencyDashboard" ], "labels": ["dependencies"], + "postUpdateOptions": ["gomodTidy"], "semanticCommits": "disabled", "commitMessagePrefix": ":arrow_up:", "commitMessageAction": "chore(deps): update",