my-homelab-configs/renovate.json

90 lines
2.2 KiB
JSON

{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"timezone": "America/Mexico_City",
"dependencyDashboard": true,
"labels": [
"dependencies"
],
"prConcurrentLimit": 4,
"packageRules": [
{
"description": "Group OpenTofu and Terraform provider updates.",
"matchManagers": [
"terraform"
],
"matchDepTypes": [
"required_provider"
],
"groupName": "OpenTofu providers"
},
{
"description": "Group Helm chart versions managed through OpenTofu.",
"matchManagers": [
"terraform"
],
"matchDatasources": [
"helm"
],
"groupName": "Helm charts"
},
{
"description": "Keep app base image changes separate from platform changes.",
"matchManagers": [
"dockerfile"
],
"groupName": "application base images"
},
{
"description": "Do not automerge homelab infrastructure updates.",
"matchFileNames": [
"bootstrap/**",
"infra/gitea/**",
"lab.sh",
".gitea/workflows/**"
],
"automerge": false
}
],
"customManagers": [
{
"customType": "regex",
"managerFilePatterns": [
"/^\\.gitea\\/workflows\\/.*\\.ya?ml$/"
],
"matchStrings": [
"gitleaks_version=\"(?<currentValue>[^\"]+)\""
],
"depNameTemplate": "gitleaks/gitleaks",
"datasourceTemplate": "github-releases",
"versioningTemplate": "semver"
},
{
"customType": "regex",
"managerFilePatterns": [
"/^\\.gitea\\/workflows\\/.*\\.ya?ml$/"
],
"matchStrings": [
"trivy_version=\"(?<currentValue>[^\"]+)\""
],
"depNameTemplate": "aquasecurity/trivy",
"datasourceTemplate": "github-releases",
"versioningTemplate": "semver"
},
{
"customType": "regex",
"managerFilePatterns": [
"/^lab\\.sh$/"
],
"matchStrings": [
"runner_version=\"\\$\\{GITEA_ACT_RUNNER_VERSION:-(?<currentValue>[^\"]+)\\}\""
],
"depNameTemplate": "go-gitea/act_runner",
"datasourceTemplate": "github-releases",
"versioningTemplate": "semver"
}
]
}