Skip to content
Snippets Groups Projects
Unverified Commit 2cbb04d3 authored by Gregory Dosh's avatar Gregory Dosh Committed by GitHub
Browse files

feat(github-actions): synchronize regexManager:githubActionsVersions and...

feat(github-actions): synchronize regexManager:githubActionsVersions and github-actions fileMatch (#26414)

Co-authored-by: default avatarSebastian Poxhofer <secustor@users.noreply.github.com>
Co-authored-by: default avatarGregoryDosh <GregoryDosh@users.noreply.github.com>
Co-authored-by: default avatarRhys Arkins <rhys@arkins.net>
parent 2191dfa5
No related branches found
No related tags found
No related merge requests found
...@@ -22,7 +22,10 @@ export const presets: Record<string, Preset> = { ...@@ -22,7 +22,10 @@ export const presets: Record<string, Preset> = {
customManagers: [ customManagers: [
{ {
customType: 'regex', customType: 'regex',
fileMatch: ['^.github/(?:workflows|actions)/.+\\.ya?ml$'], fileMatch: [
'(^|/)(workflow-templates|\\.(?:github|gitea|forgejo)/(?:workflows|actions))/.+\\.ya?ml$',
'(^|/)action\\.ya?ml$',
],
matchStrings: [ matchStrings: [
'# 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', '# 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',
], ],
......
...@@ -5,7 +5,7 @@ export { extractPackageFile } from './extract'; ...@@ -5,7 +5,7 @@ export { extractPackageFile } from './extract';
export const defaultConfig = { export const defaultConfig = {
fileMatch: [ fileMatch: [
'(^|/)(workflow-templates|\\.(?:github|gitea|forgejo)/workflows)/[^/]+\\.ya?ml$', '(^|/)(workflow-templates|\\.(?:github|gitea|forgejo)/(?:workflows|actions))/.+\\.ya?ml$',
'(^|/)action\\.ya?ml$', '(^|/)action\\.ya?ml$',
], ],
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment