postfixadmin-docker/renovate.json
2023-06-18 21:49:59 +02:00

48 lines
1.5 KiB
JSON

{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"assignees": [ "volker.raschek" ],
"automergeStrategy": "merge-commit",
"automergeType": "pr",
"labels": [ "renovate" ],
"packageRules": [
{
"addLabels": [ "renovate/droneci", "renovate/automerge" ],
"automerge": true,
"matchManagers": "droneci",
"matchUpdateTypes": [ "minor", "patch"]
},
{
"description": "Automatically update patch version of used container images in docker files",
"addLabels": [ "renovate/container-image", "renovate/automerge" ],
"automerge": true,
"matchBaseBranches": [ "master" ],
"matchManagers": [ "dockerfile" ],
"matchUpdateTypes": [ "patch" ]
},
{
"description": "Trim leading postfixadmin- from git tag",
"addLabels": [ "renovate/postfixadmin" ],
"automerge": false,
"extractVersion": "^postfixadmin-(?<version>\\d+\\.\\d+\\.\\d+)$",
"matchPackageNames": [ "postfixadmin/postfixadmin" ],
"matchManagers": [ "regex" ]
}
],
"rebaseLabel": "renovate/rebase",
"rebaseWhen": "behind-base-branch",
"regexManagers": [
{
"description": "Update postfixadmin git tag",
"fileMatch": [
"^Makefile$"
],
"matchStrings": [
"POSTFIXADMIN_VERSION\\?=(?<currentValue>.*?)\n"
],
"datasourceTemplate": "github-tags",
"depNameTemplate": "postfixadmin/postfixadmin",
"versioningTemplate": "regex:^(postfixadmin-)?(v)?(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)(\\s*)?$"
}
]
}