chore: add renovate config

This commit is contained in:
secustor 2025-01-17 23:56:53 +01:00
parent 229d51e158
commit b222e79449
No known key found for this signature in database
3 changed files with 21 additions and 0 deletions

19
renovate.json5 Normal file
View file

@ -0,0 +1,19 @@
{
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
extends: [
'config:recommended',
'customManagers:helmChartYamlAppVersions',
'helpers:pinGitHubActionDigests',
],
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+[A-Za-z0-9_]+?version\\s*:\\s*[\"']?(?<currentValue>.+?)[\"']?\\s"
]
}
]
}