Configure Renovate

This adds a custom regex manager so dependencies in yml files can be found.
This commit is contained in:
Samuel Meenzen 2023-10-06 12:52:39 +02:00
parent 11b032f3ad
commit e647fbd661
No known key found for this signature in database

14
.github/renovate.json vendored Normal file
View File

@ -0,0 +1,14 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
],
"regexManagers": [
{
"fileMatch": [".*y[a]?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"
]
}
]
}