From 1491ce98b2bf38f2235d1b00dd9255e4acab7874 Mon Sep 17 00:00:00 2001 From: Terence Lee Date: Thu, 19 Nov 2026 18:09:41 -0600 Subject: [PATCH] add Renovate config for Go runtime updates Renovate pilot for Go runtime updates Docker Hub's official golang: image lags golang/go tags while multi-arch images build. By pointing both go.mod and the launcher Dockerfile at Docker Hub golang tags, this ensures they resolve the same version and update atomically. Signed-off-by: Terence Lee --- .github/renovate.json | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/renovate.json diff --git a/.github/renovate.json b/.github/renovate.json new file mode 100644 index 000000000..5ef946e74 --- /dev/null +++ b/.github/renovate.json @@ -0,0 +1,35 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + ":gitSignOff" + ], + "labels": ["dependencies", "go"], + "enabledManagers": ["gomod", "dockerfile"], + "packageRules": [ + { + "description": "Default-deny everything so Renovate never overlaps with Dependabot", + "matchPackageNames": ["*"], + "enabled": false + }, + { + "description": "Manage Go runtime in go.mod using Docker Hub golang tags so both files resolve the same version, grouped with the Dockerfile rule below", + "matchManagers": ["gomod"], + "matchFileNames": ["go.mod"], + "matchDepTypes": ["golang"], + "enabled": true, + "overrideDatasource": "docker", + "overridePackageName": "golang", + "rangeStrategy": "bump", + "groupName": "Go runtime" + }, + { + "description": "Manage golang builder image in launcher acceptance test Dockerfile in lock-step with go.mod", + "matchManagers": ["dockerfile"], + "matchFileNames": ["acceptance/testdata/launcher/Dockerfile"], + "matchPackageNames": ["golang"], + "enabled": true, + "pinDigests": false, + "groupName": "Go runtime" + } + ] +}