{ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": ["forgejo-contrib/forgejo-renovate//base.json"], "assignees": ["viceice"], "enabledManagers": ["helmv3", "nodenv", "npm", "regex", "github-actions"], "packageRules": [ { "matchManagers": ["helmv3"], "matchUpdateTypes": ["minor", "patch"], "semanticCommitType": "fix" }, { "matchManagers": ["helmv3"], "matchUpdateTypes": ["major"], "semanticCommitType": "feat" }, { "matchManagers": ["regex"], "matchDepNames": ["forgejo"], "matchUpdateTypes": ["patch"], "semanticCommitType": "fix" }, { "matchManagers": ["regex"], "matchDepNames": ["forgejo"], "matchUpdateTypes": ["major", "minor"], "semanticCommitType": "feat" }, { "description": "Automerge patch deps updates", "matchManagers": ["helmv3"], "matchFiles": ["Chart.yaml"], "matchUpdateTypes": ["patch"], "automerge": true }, { "description": "Automerge dev deps updates", "matchManagers": ["npm"], "matchDepTypes": ["devDependencies"], "matchUpdateTypes": ["minor", "patch"], "automerge": true }, { "description": "Automerge node updates", "matchManagers": ["nodenv"], "matchUpdateTypes": ["minor", "patch"], "automerge": true }, { "description": "Automerge some updates", "matchDepNames": ["pnpm", "helm-unittest"], "matchUpdateTypes": ["minor", "patch"], "automerge": true }, { "description": "Separate minor and patch updates for kindest", "matchPackageNames": ["kindest/node"], "separateMinorPatch": true }, { "description": "Require approval and no automerge for kindest major and minor updates", "matchPackageNames": ["kindest/node"], "matchUpdateTypes": ["major", "minor"], "dependencyDashboardApproval": true, "automerge": false } ], "customManagers": [ { "description": "Update forgeo version in chart", "customType": "regex", "fileMatch": ["^Chart\\.yaml$"], "matchStrings": ["appVersion: (?.+?)\\s"], "depNameTemplate": "forgejo", "packageNameTemplate": "codeberg.org/forgejo/forgejo", "datasourceTemplate": "docker" }, { "description": "Detect helm-unittest yaml schema file", "customType": "regex", "fileMatch": [".vscode/settings\\.json$"], "matchStrings": [ "https://raw\\.githubusercontent\\.com/helm-unittest/helm-unittest/(?v[0-9.]+?)/schema/helm-testsuite\\.json" ], "depNameTemplate": "helm-unittest", "packageNameTemplate": "helm-unittest/helm-unittest", "datasourceTemplate": "github-releases" }, { "customType": "regex", "description": "Update kindest kubernetes references", "fileMatch": ["^\\.forgejo/workflows/[^/]+\\.ya?ml$"], "matchStrings": [ " +- (?v\\d+\\.\\d+\\.\\d+) # renovate: kindest\\n" ], "depNameTemplate": "kindest/node", "datasourceTemplate": "docker" } ] }