Update default.json for Renovate bot: change description, enable platform automerge, add pruneBranchAfterAutomerge, and refine package rules for better dependency management.
This commit is contained in:
1 file changed
+38
-44
+38
-44
@@ -1,11 +1,13 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"description": "Org preset — put in repo sothink-cicd/renovate-config, file default.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"
|
||||
@@ -21,8 +23,12 @@
|
||||
"security",
|
||||
"CVE"
|
||||
],
|
||||
"automerge": false,
|
||||
"prPriority": 100
|
||||
"automerge": false
|
||||
},
|
||||
"argocd": {
|
||||
"managerFilePatterns": [
|
||||
"/(^|/)argocd/.+\\.ya?ml$/"
|
||||
]
|
||||
},
|
||||
"helm-values": {
|
||||
"managerFilePatterns": [
|
||||
@@ -36,16 +42,40 @@
|
||||
},
|
||||
"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": [
|
||||
"minor",
|
||||
"major"
|
||||
],
|
||||
"automerge": false,
|
||||
@@ -54,6 +84,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Never automerge infrastructure, IaC, and container updates (overrides rules above)",
|
||||
"matchManagers": [
|
||||
"terraform",
|
||||
"helmv3",
|
||||
@@ -65,52 +96,15 @@
|
||||
"docker-compose"
|
||||
],
|
||||
"addLabels": [
|
||||
"infra"
|
||||
"infra",
|
||||
"needs-approval"
|
||||
],
|
||||
"automerge": false
|
||||
}
|
||||
],
|
||||
"registryAliases": {
|
||||
"gitea-charts": "https://dl.gitea.com/charts/",
|
||||
"dependency-track": "https://dependencytrack.github.io/helm-charts",
|
||||
"sonarqube": "https://SonarSource.github.io/helm-chart-sonarqube",
|
||||
"semaphoreui": "https://semaphoreui.github.io/charts",
|
||||
"argo": "https://argoproj.github.io/argo-helm",
|
||||
"harbor": "https://helm.goharbor.io",
|
||||
"rancher-latest": "https://releases.rancher.com/server-charts/latest",
|
||||
"rancher-stable": "https://releases.rancher.com/server-charts/stable",
|
||||
"hashicorp": "https://helm.releases.hashicorp.com",
|
||||
"hoppscotch": "https://hoppscotch.github.io/helm-charts",
|
||||
"defectdojo": "https://raw.githubusercontent.com/DefectDojo/django-DefectDojo/helm-charts",
|
||||
"jenkins": "https://charts.jenkins.io",
|
||||
"nfs-subdir-external-provisioner": "https://kubernetes-sigs.github.io/nfs-subdir-external-provisioner/",
|
||||
"longhorn": "https://charts.longhorn.io",
|
||||
"prometheus-community": "https://prometheus-community.github.io/helm-charts",
|
||||
"grafana": "https://grafana.github.io/helm-charts",
|
||||
"ingress-nginx": "https://kubernetes.github.io/ingress-nginx",
|
||||
"rancher": "https://charts.rancher.io",
|
||||
"gitlab": "https://charts.gitlab.io/",
|
||||
"jameswynn": "https://jameswynn.github.io/helm-charts",
|
||||
"k8s-home-lab-repo": "https://k8s-home-lab.github.io/helm-charts/",
|
||||
"external-secrets": "https://charts.external-secrets.io",
|
||||
"elastic": "https://helm.elastic.co",
|
||||
"nginx-stable": "https://helm.nginx.com/stable",
|
||||
"deliveryhero": "https://raw.githubusercontent.com/deliveryhero/helm-charts/refs/heads/master",
|
||||
"traefik": "https://traefik.github.io/charts",
|
||||
"renovate": "https://docs.renovatebot.com/helm-charts",
|
||||
"gitea-sonarqube-bot": "https://codeberg.org/justusbunsi/gitea-sonarqube-bot/raw/branch/charts/",
|
||||
"metallb": "https://metallb.github.io/metallb",
|
||||
"uptime-kuma": "https://dirsigler.github.io/uptime-kuma-helm",
|
||||
"community-charts": "https://community-charts.github.io/helm-charts",
|
||||
"langflow": "https://langflow-ai.github.io/langflow-helm-charts",
|
||||
"openebs": "https://openebs.github.io/openebs",
|
||||
"fossorial": "https://charts.fossorial.io",
|
||||
"netbirdio": "https://netbirdio.github.io/helms",
|
||||
"democratic-csi": "https://democratic-csi.github.io/charts/",
|
||||
"alekc-charts": "https://charts.alekc.dev",
|
||||
"rustfs": "https://charts.rustfs.com",
|
||||
"jellyfin": "https://jellyfin.github.io/jellyfin-helm",
|
||||
"valkey": "https://valkey.io/valkey-helm/",
|
||||
"datalust": "https://helm.datalust.co"
|
||||
"alekc-charts": "https://charts.alekc.dev"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user