diff --git a/.github/renovate.json5 b/.github/renovate.json5 index c11e4b92..baa1b783 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -12,6 +12,7 @@ "github>onedr0p/flux-cluster-template//.github/renovate/commitMessage.json5", "github>onedr0p/flux-cluster-template//.github/renovate/groups.json5", "github>onedr0p/flux-cluster-template//.github/renovate/labels.json5", + "github>onedr0p/flux-cluster-template//.github/renovate/packageRules.json5", "github>onedr0p/flux-cluster-template//.github/renovate/semanticCommits.json5", "helpers:pinGitHubActionDigests" ], diff --git a/.github/renovate/packageRules.json5 b/.github/renovate/packageRules.json5 new file mode 100644 index 00000000..bc17a4fa --- /dev/null +++ b/.github/renovate/packageRules.json5 @@ -0,0 +1,11 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "packageRules": [ + { + "description": "Use custom versioning for k3s", + "matchDatasources": ["github-releases"], + "versioning": "regex:^v(?\\d+)\\.(?\\d+)\\.(?\\d+)(?\\+k3s)(?\\d+)$", + "matchPackagePatterns": ["k3s"] + } + ] +}