feat(cofig/presets): add regexManagers:githubActionsVersions (#19620)

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
This commit is contained in:
Tobias Bieniek 2023-01-08 09:09:42 +01:00 committed by GitHub
parent 8936ee5709
commit 3d85b6048d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,4 +14,16 @@ export const presets: Record<string, Preset> = {
}, },
], ],
}, },
githubActionsVersions: {
description:
'Update `_VERSION` environment variables in GitHub Action files.',
regexManagers: [
{
fileMatch: ['^.github/workflows/[^/]+\\.ya?ml$'],
matchStrings: [
'# renovate: datasource=(?<datasource>[a-z-]+?) depName=(?<depName>[^\\s]+?)(?: (?:lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[a-z-0-9]+?))?\\s+[A-Za-z0-9_]+?_VERSION\\s*:\\s*["\']?(?<currentValue>.+?)["\']?\\s',
],
},
],
},
}; };