devops(deps): configure Renovate for Gitea with patch automerge (F-22) #624
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Pre-prod audit finding F-22 (dependency hygiene): the current
renovate.jsonhas noplatform: "gitea"config and no automerge rules. This is directly why 12 advisories accumulated before issue #458 — each had afixAvailable: truebut no automation created a PR.Issue #458 added a CI audit gate (
npm audit --audit-level=high --omit=dev) as a structural safety net. This issue completes F-22 by making Renovate actually work against the self-hosted Gitea instance.What's broken
renovate.jsoncurrently:"platform": "gitea"— Renovate may not connect to the self-hosted instance at all"endpoint"pointing tohttp://192.168.178.71:3005/api/v1matchDepTypesrule to catch dev-dependency CVEs automaticallyApproach
"platform": "gitea"and"endpoint"torenovate.json"automerge": true+"automergeType": "pr"for patch updates (semver patch = low-risk)"automerge": falsefor minor/major updates (require review)matchDepTypes: ["devDependencies"]group so dev CVEs trigger PRs, not just prod depsCritical files
renovate.jsonVerification
Acceptance criteria
renovate.jsoncontains"platform": "gitea"and a valid"endpoint"dependenciesanddevDependenciesEffort
S — 30 minutes config + 1 hour verification
References