mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-13 07:26:26 +00:00
feat(cofig/presets): add regexManagers:githubActionsVersions
(#19620)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
This commit is contained in:
parent
8936ee5709
commit
3d85b6048d
1 changed files with 12 additions and 0 deletions
|
@ -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',
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue