Files
opencloud-compose/renovate.json
Dominik Schmidt 7db562fd25 chore(renovate): automerge patch updates of all images
Patch updates were merged automatically for images written as a fixed
string, but not for images whose tag is a variable, because the rule
was bound to renovate's docker-compose manager. Which manager reads an
image says nothing about how risky its patch releases are.

Drop the manager from the rule, so it covers every image. An image
that should not be merged automatically gets its own rule by package
name, where the exception is visible.
2026-11-25 10:32:11 +01:00

41 lines
1.1 KiB
JSON

{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"dependencyDashboard": true,
"platformAutomerge": true,
"enabledManagers": ["docker-compose", "custom.regex"],
"baseBranchPatterns": ["main", "stable-4.0", "stable-7.2", "stable-9.1"],
"packageRules": [
{
"matchManagers": ["docker-compose", "custom.regex"],
"labels": ["Type:Dependencies", "Bot:Renovate"]
},
{
"matchUpdateTypes": ["patch"],
"automerge": true
},
{
"matchBaseBranches": ["stable-4.0", "stable-7.2", "stable-9.1"],
"matchUpdateTypes": ["major", "minor"],
"enabled": false
},
{
"matchPackageNames": ["postgres"],
"matchManagers": ["docker-compose"],
"allowedVersions": "/^17\\.\\d+-alpine$/"
}
],
"docker-compose": {
"managerFilePatterns": ["/.+\\.ya?ml$/"]
},
"customManagers": [
{
"customType": "regex",
"managerFilePatterns": ["/.+\\.ya?ml$/"],
"matchStrings": [
"image: \\$\\{[^}:]+:-(?<depName>[^}]+)\\}:\\$\\{[^}:]+:-(?<currentValue>[^@}]+)(?:@(?<currentDigest>sha256:[a-f0-9]+))?\\}"
],
"datasourceTemplate": "docker"
}
]
}