Files
infrastructure/renovate.json
Alex Lebens b45ca0b884
All checks were successful
renovate / renovate (push) Successful in 1m13s
ci: change renovate config to group custom manager rules
2026-01-25 14:26:09 -06:00

129 lines
2.8 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]+)[\"']?"
],
"datasourceTemplate": "github-releases"
}
],
"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, helm",
"matchManagers": [
"custom.regex", "helm-values"
],
"groupName": "{{{depName}}}",
"groupSlug": "sync-{{#if packageName}}{{{packageName}}}{{else}}{{{depName}}}{{/if}}",
"replacementParameters": {
"shortName": "{{{replace 'ghcr.io/' '' depName}}}"
},
"addLabels": [
"image"
],
"automerge": false
},
{
"description": "Label images, docker",
"matchDatasources": [
"docker"
],
"addLabels": [
"image"
],
"automerge": false
},
{
"description": "Automerge image patches, helm",
"matchUpdateTypes": [
"patch",
"digest"
],
"matchManagers": [
"custom.regex", "helm-values"
],
"groupName": "{{{depName}}}",
"groupSlug": "sync-{{#if packageName}}{{{packageName}}}{{else}}{{{depName}}}{{/if}}",
"replacementParameters": {
"shortName": "{{{replace 'ghcr.io/' '' depName}}}"
},
"addLabels": [
"image",
"automerge"
],
"automerge": true,
"minimumReleaseAge": "1 days"
},
{
"description": "Automerge image patches, docker",
"matchUpdateTypes": [
"patch",
"digest"
],
"matchDatasources": [
"docker"
],
"addLabels": [
"image",
"automerge"
],
"automerge": true,
"minimumReleaseAge": "1 days"
}
]
}