Files
infrastructure/renovate.json
Alex Lebens fe301f44f6
All checks were successful
renovate / renovate (push) Successful in 5m8s
ci: change renovate config to group custom manager rules
2026-01-25 13:39:37 -06:00

104 lines
2.3 KiB
JSON

{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
"mergeConfidence:all-badges",
":rebaseStalePrs"
],
"customManagers": [
{
"customType": "regex",
"managerFilePatterns": [
"/(^|/)Chart\\.yaml$/"
],
"matchStrings": [
"#\\s*renovate:\\s*datasource=(?<datasource>.*?) depName=(?<depName>.*?)\\s+appVersion:\\s*[\"']?(?<currentValue>[^\"'\\s]+)[\"']?"
],
"depNameTemplate": "your-registry/your-image",
"datasourceTemplate": "docker"
}
],
"timezone": "US/Central",
"labels": [],
"prHourlyLimit": 0,
"prConcurrentLimit": 0,
"packageRules": [
{
"description": "Label charts",
"matchDatasources": [
"helm"
],
"addLabels": [
"chart"
],
"automerge": false
},
{
"description": "Automerge chart patches",
"matchUpdateTypes": [
"patch"
],
"matchDatasources": [
"helm"
],
"addLabels": [
"chart",
"automerge"
],
"automerge": true,
"minimumReleaseAge": "1 days"
},
{
"description": "Automerge helm chart lock files",
"matchManagers": [
"helm"
],
"lockFileMaintenance": {
"enabled": true
},
"addLabels": [
"chart",
"automerge"
],
"automerge": true,
"automergeType": "branch"
},
{
"description": "Label images",
"matchDatasources": [
"docker"
],
"matchManagers": [
"custom.regex", "helm-values"
],
"groupName": "{{{depName}}}",
"groupSlug": "sync-{{#if packageName}}{{{packageName}}}{{else}}{{{depName}}}{{/if}}",
"addLabels": [
"image"
],
"automerge": false
},
{
"description": "Automerge image patches",
"matchUpdateTypes": [
"patch",
"digest"
],
"matchDatasources": [
"docker"
],
"matchManagers": [
"custom.regex", "helm-values"
],
"groupName": "{{{depName}}}",
"groupSlug": "sync-{{#if packageName}}{{{packageName}}}{{else}}{{{depName}}}{{/if}}",
"addLabels": [
"image",
"automerge"
],
"automerge": true,
"minimumReleaseAge": "1 days"
}
]
}