renovate/default.json
Simon Cornet 19e9f6e8ee
All checks were successful
Renovate Bot / Renovate (push) Successful in 57s
[renovate] fix: regex met ewout - revert
2024-10-09 11:53:54 +02:00

42 lines
1.3 KiB
JSON

{
"name": "default",
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"dependencyDashboard": true,
"major": {
"dependencyDashboardApproval": true
},
"platformAutomerge": true,
"packageRules": [
{
"matchUpdateTypes": [
"minor",
"patch",
"pin",
"digest"
],
"automerge": true,
"automergeType": "pr"
}
],
"branchPrefix": "renovate_",
"customManagers": [
{
"customType": "regex",
"description": "Update _version variables in Ansible",
"fileMatch": ["(.*).ya?ml$"],
"matchStrings": [
"# renovate: datasource=(?<datasource>[a-z-]+?) depName=(?<depName>.+?)(?: (?:packageName|lookupName)=(?<packageName>.+?))?(?: versioning=(?<versioning>[a-z0-9-]+?))?\\s.+?_version: '(?<currentValue>.+?)'\\s"
],
"extractVersionTemplate": "^v(?<version>.*)$"
},
{
"customType": "regex",
"fileMatch": ["Dockerfile(.*)"],
"matchStrings": [
"# renovate: datasource=(?<datasource>[a-z-]+?) depName=(?<depName>.+?)(?: (?:packageName|lookupName)=(?<packageName>.+?))?(?: versioning=(?<versioning>[a-z0-9-]+?))?\\s(?:ENV|ARG) .+?_VERSION=(?<currentValue>.+?)\\s"
],
"extractVersionTemplate": "^v(?<version>.*)$"
}
]
}