renovate/default.json
Simon Cornet 4967dfe893
All checks were successful
Renovate Bot / Renovate (push) Successful in 1m30s
[renovate] fix: renovate config
2024-07-18 12:02:37 +02:00

41 lines
1.2 KiB
JSON

{
"name": "default",
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"dependencyDashboard": true,
"major": {
"dependencyDashboardApproval": true
},
"platformAutomerge": false,
"packageRules": [
{
"matchUpdateTypes": [
"minor",
"patch",
"pin",
"digest"
],
"automerge": true
}
],
"branchPrefix": "renovate_",
"customManager": [
{
"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>.*)$"
}
]
}