renovate/default.json

43 lines
1.3 KiB
JSON
Raw Normal View History

2023-11-07 16:18:38 +01:00
{
2023-11-20 15:33:47 +01:00
"name": "default",
2023-11-07 16:18:38 +01:00
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"dependencyDashboard": true,
"major": {
"dependencyDashboardApproval": true
},
"platformAutomerge": false,
"packageRules": [
{
2024-07-12 14:02:38 +02:00
"matchUpdateTypes": [
"minor",
"patch",
"pin",
"digest"
],
"automerge": true
}
2023-11-21 10:07:27 +01:00
],
"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",
"description": "Update _VERSION variables in Dockerfiles",
"fileMatch": ["Dockerfile(.*)"],
"matchStrings": [
"# renovate: datasource=(?<datasource>[a-z-]+?) depName=(?<depName>.+?)(?: (?:packageName|lookupName)=(?<packageName>.+?))?(?: versioning=(?<versioning>[a-z0-9-]+?))?\\s(?:ENV|ARG) .+?_VERSION=(?<currentValue>.+?)\\s"
],
"versioningTemplate": "{{#if versioning}}{{versioning}}{{else}}semver{{/if}}"
}
]
2023-11-07 16:18:38 +01:00
}