Code Issues Pull Requests Actions Packages Projects Releases 1 Wiki Activity Security Code Quality

Update default.json for Renovate bot: change description, enable platform automerge, add pruneBranchAfterAutomerge, and refine package rules for better dependency management.
gitea/global-workflow: Scan Vulnerabilities / sbom-upload (push) Successful in 2s
gitea/global-workflow: Release / Release (push) Successful in 6s

This commit is contained in:
tienbh committed 2026-12-01 13:59:05 +07:00 Verified
1 parent 1f801a3fbd
commit c2f16a710d
1 file changed
+38 -44
+38 -44
View File
@@ -1,11 +1,13 @@
{ {
"$schema": "https://docs.renovatebot.com/renovate-schema.json", "$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": [ "extends": [
"config:recommended", "config:recommended",
":preserveSemverRanges", ":preserveSemverRanges",
":rebaseStalePrs" ":rebaseStalePrs"
], ],
"platformAutomerge": true,
"pruneBranchAfterAutomerge": true,
"timezone": "Asia/Ho_Chi_Minh", "timezone": "Asia/Ho_Chi_Minh",
"schedule": [ "schedule": [
"before 7am on monday" "before 7am on monday"
@@ -21,8 +23,12 @@
"security", "security",
"CVE" "CVE"
], ],
"automerge": false, "automerge": false
"prPriority": 100 },
"argocd": {
"managerFilePatterns": [
"/(^|/)argocd/.+\\.ya?ml$/"
]
}, },
"helm-values": { "helm-values": {
"managerFilePatterns": [ "managerFilePatterns": [
@@ -36,16 +42,40 @@
}, },
"packageRules": [ "packageRules": [
{ {
"description": "Group and automerge all patch, pin, and digest updates",
"matchUpdateTypes": [ "matchUpdateTypes": [
"patch", "patch",
"pin", "pin",
"digest" "digest"
], ],
"groupName": "all patch dependencies",
"groupSlug": "all-patch",
"automerge": true "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": [ "matchUpdateTypes": [
"minor",
"major" "major"
], ],
"automerge": false, "automerge": false,
@@ -54,6 +84,7 @@
] ]
}, },
{ {
"description": "Never automerge infrastructure, IaC, and container updates (overrides rules above)",
"matchManagers": [ "matchManagers": [
"terraform", "terraform",
"helmv3", "helmv3",
@@ -65,52 +96,15 @@
"docker-compose" "docker-compose"
], ],
"addLabels": [ "addLabels": [
"infra" "infra",
"needs-approval"
], ],
"automerge": false "automerge": false
} }
], ],
"registryAliases": { "registryAliases": {
"gitea-charts": "https://dl.gitea.com/charts/", "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", "community-charts": "https://community-charts.github.io/helm-charts",
"langflow": "https://langflow-ai.github.io/langflow-helm-charts", "alekc-charts": "https://charts.alekc.dev"
"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"
} }
} }