mirror-secustor-helm-charts/renovate.json5
2025-05-08 21:11:41 +00:00

27 lines
1,014 B
Text

{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: [
"github>secustor/renovate-config",
"customManagers:helmChartYamlAppVersions",
],
bumpVersions: [
{
filePatterns: ["{{packageFileDir}}/Chart.{yaml,yml}"],
matchStrings: ["version:\\s(?<version>[^\\s]+)"],
bumpType: "{{#if isMajor}}major{{else}}patch{{/if}}",
},
],
customManagers: [
{
customType: "regex",
fileMatch: ["\\.github\/workflows\/release\\.ya?ml"],
matchStrings: [
// this is mostly a copy from https://docs.renovatebot.com/presets-customManagers/#custommanagersgithubactionsversions
// and only changes the expected version prefix
"# renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: (?:lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[^\\s]+?))?(?: extractVersion=(?<extractVersion>[^\\s]+?))?\\s+version\\s*:\\s*[\"']?(?<currentValue>.+?)[\"']?\\s",
],
},
],
}