mirror of
https://github.com/opencloud-eu/opencloud-compose.git
synced 2026-06-08 20:20:04 +08:00
fix: regex match string fix: regex match string fix: plaform merge fix: labels fix: labels 2
44 lines
1.2 KiB
JSON
44 lines
1.2 KiB
JSON
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"platformAutomerge": true,
|
|
"enabledManagers": ["docker-compose", "custom.regex"],
|
|
"baseBranchPatterns": ["main", "stable-4.0"],
|
|
"packageRules": [
|
|
{
|
|
"matchManagers": ["docker-compose", "custom.regex"],
|
|
"labels": ["Type:Dependencies", "Bot:Renovate"]
|
|
},
|
|
{
|
|
"matchManagers": ["docker-compose"],
|
|
"matchUpdateTypes": ["patch"],
|
|
"automerge": true
|
|
},
|
|
{
|
|
"matchBaseBranches": ["stable-4.0"],
|
|
"matchUpdateTypes": ["major", "minor"],
|
|
"enabled": false
|
|
},
|
|
{
|
|
"matchPackageNames": ["postgres"],
|
|
"matchManagers": ["docker-compose"],
|
|
"allowedVersions": "/^17\\.\\d+-alpine$/"
|
|
}
|
|
],
|
|
"docker-compose": {
|
|
"managerFilePatterns": ["/.+\\.ya?ml$/"]
|
|
},
|
|
"customManagers": [
|
|
{
|
|
"customType": "regex",
|
|
"managerFilePatterns": [
|
|
"/^docker-compose\\.yml$/",
|
|
"/^weboffice\\/collabora\\.yml$/"
|
|
],
|
|
"matchStrings": [
|
|
"# renovate: depName=(?<depName>[^\\s]+)\\n\\s+image: \\$\\{[^}]+\\}:\\$\\{[^}]+-(?<currentValue>[0-9]+\\.[0-9]+\\.[0-9]+)\\}"
|
|
],
|
|
"datasourceTemplate": "docker"
|
|
}
|
|
]
|
|
}
|