Skip to content

Commit

Permalink
renovate: update Go version properly for v1.1
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
mtardy committed Jun 5, 2024
1 parent d507441 commit aa54f1d
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
]
},
Expand Down

0 comments on commit aa54f1d

Please sign in to comment.