Make fileMatch more specific

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

Although.. a false-positive is unlikely anyway.
This commit is contained in:
Slavi Pantaleev 2023-10-16 18:20:09 +03:00 committed by GitHub
parent ec3b204541
commit f6f5360574
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@
],
"regexManagers": [
{
"fileMatch": [".*y[a]?ml$"],
"fileMatch": ["defaults/main.yml$"],
"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"
]