Make fileMatch more specific

Hopefully, this makes it run faster and prevents potential false-positives.

Although.. a false-positive is unlikely anyway.
pull/2933/head
Slavi Pantaleev 8 months ago committed by GitHub
parent ec3b204541
commit f6f5360574
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -5,7 +5,7 @@
], ],
"regexManagers": [ "regexManagers": [
{ {
"fileMatch": [".*y[a]?ml$"], "fileMatch": ["defaults/main.yml$"],
"matchStrings": [ "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|_tag)\\s*:\\s*[\"']?(?<currentValue>.+?)[\"']?\\s" "# renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: (?:lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[a-z-0-9]+?))?\\s+[A-Za-z0-9_]+?(?:_version|_tag)\\s*:\\s*[\"']?(?<currentValue>.+?)[\"']?\\s"
] ]

Loading…
Cancel
Save