{ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "description": "Global preset — put in repo gitea/renovate-config, file default.json", "extends": [ "config:recommended", ":preserveSemverRanges", ":rebaseStalePrs" ], "platformAutomerge": true, "pruneBranchAfterAutomerge": true, "timezone": "Asia/Ho_Chi_Minh", "schedule": [ "before 7am on monday" ], "labels": [ "dependencies" ], "separateMinorPatch": true, "minimumReleaseAge": "3 days", "osvVulnerabilityAlerts": true, "vulnerabilityAlerts": { "labels": [ "security", "CVE" ], "automerge": false }, "argocd": { "managerFilePatterns": [ "/(^|/)argocd/.+\\.ya?ml$/" ] }, "helm-values": { "managerFilePatterns": [ "/(^|/)(values|.*-values|.*\\.values)\\.ya?ml$/" ] }, "kubernetes": { "managerFilePatterns": [ "/(^|/)(k8s|manifests|deploy)/.+\\.ya?ml$/" ] }, "packageRules": [ { "description": "Group and automerge all patch, pin, and digest updates", "matchUpdateTypes": [ "patch", "pin", "digest" ], "groupName": "all patch dependencies", "groupSlug": "all-patch", "automerge": true }, { "description": "Group and automerge stable (>=1.0.0) minor updates", "matchUpdateTypes": [ "minor" ], "matchCurrentVersion": "!/^0/", "groupName": "all minor dependencies", "groupSlug": "all-minor", "automerge": true }, { "description": "Require manual approval for 0.x minor updates (potential breaking changes)", "matchUpdateTypes": [ "minor" ], "matchCurrentVersion": "/^0/", "automerge": false, "addLabels": [ "needs-approval" ] }, { "description": "Require manual approval for all major updates", "matchUpdateTypes": [ "major" ], "automerge": false, "addLabels": [ "needs-approval" ] }, { "description": "Never automerge infrastructure, IaC, and container updates (overrides rules above)", "matchManagers": [ "terraform", "helmv3", "helm-values", "helmfile", "kubernetes", "argocd", "dockerfile", "docker-compose" ], "addLabels": [ "infra", "needs-approval" ], "automerge": false } ], "registryAliases": { "gitea-charts": "https://dl.gitea.com/charts/", "community-charts": "https://community-charts.github.io/helm-charts", "alekc-charts": "https://charts.alekc.dev" } }