From 23b414a10d8a34dd41276fde737c8f83db192b6b Mon Sep 17 00:00:00 2001 From: Tommy Situ Date: Tue, 9 Jun 2026 21:44:20 +0100 Subject: [PATCH] Sync go.mod Go version via Renovate Add a custom regex manager so Renovate also bumps the go directive in go.mod, keeping it in sync with the CircleCI image, Dockerfile, and docs. Previously the gomod manager left the directive untouched on patch releases, causing go.mod to drift from the other Go version references. Co-Authored-By: Claude Opus 4.8 --- .github/renovate.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/renovate.json b/.github/renovate.json index 98f13512f..de5cb4dde 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -36,6 +36,18 @@ ], "datasourceTemplate": "golang-version", "depNameTemplate": "go" + }, + { + "customType": "regex", + "description": "Update Go version in go.mod go directive", + "managerFilePatterns": [ + "/^go\\.mod$/" + ], + "matchStrings": [ + "(?m)^go (?\\d+\\.\\d+\\.\\d+)" + ], + "datasourceTemplate": "golang-version", + "depNameTemplate": "go" } ], "packageRules": [