From aa54f1de75b8f7b36759524b68a9b327dce64c60 Mon Sep 17 00:00:00 2001 From: Mahe Tardy Date: Wed, 5 Jun 2024 09:50:50 +0200 Subject: [PATCH] renovate: update Go version properly for v1.1 Stable branch v1.1 was put in the rule to update <1.21 while it was already using 1.22. This fix should allow proper patch updates on v1.1 for the go version. Signed-off-by: Mahe Tardy --- .github/renovate.json5 | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 2bf440ab423..72c8ead1e7b 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -295,7 +295,7 @@ ] }, { - // update go version until next minor for stable branches + // update go patch for 1.21 for stable branches "enabled": true, "matchPackageNames": [ "go", @@ -304,6 +304,17 @@ "allowedVersions": "/^1\\.21\\.[0-9]+-?(alpine)?$/", "matchBaseBranches": [ "v1.0", + ] + }, + { + // update go patch for 1.22 for stable branches + "enabled": true, + "matchPackageNames": [ + "go", + "docker.io/library/golang" + ], + "allowedVersions": "/^1\\.22\\.[0-9]+-?(alpine)?$/", + "matchBaseBranches": [ "v1.1", ] },