103 lines
3.3 KiB
JSON
103 lines
3.3 KiB
JSON
{
|
|
"$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": "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: (?<currentValue>.+?)\\s"],
|
|
"depNameTemplate": "forgejo",
|
|
"packageNameTemplate": "codeberg.org/forgejo/forgejo",
|
|
"datasourceTemplate": "docker"
|
|
},
|
|
{
|
|
"description": "Update helm unittest plugin",
|
|
"customType": "regex",
|
|
"fileMatch": ["^\\.woodpecker/[a-z-]+\\.yml$"],
|
|
"matchStrings": [
|
|
"helm plugin install --version (?<currentValue>.+?) https://github.com/helm-unittest/helm-unittest\\s"
|
|
],
|
|
"depNameTemplate": "helm-unittest",
|
|
"packageNameTemplate": "helm-unittest/helm-unittest",
|
|
"datasourceTemplate": "github-releases"
|
|
},
|
|
{
|
|
"description": "Detect helm-unittest yaml schema file",
|
|
"customType": "regex",
|
|
"fileMatch": [".vscode/settings\\.json$"],
|
|
"matchStrings": [
|
|
"https:\\/\\/raw\\.githubusercontent\\.com\\/(?<depName>[^\\s]+?)\\/(?<currentValue>v[0-9.]+?)\\/schema\\/helm-testsuite\\.json"
|
|
],
|
|
"datasourceTemplate": "github-releases"
|
|
},
|
|
{
|
|
"customType": "regex",
|
|
"description": "Update kindest kubernetes references",
|
|
"fileMatch": ["^\\.forgejo\\/workflows\\/[^/]+\\.ya?ml$"],
|
|
"matchStrings": [
|
|
" +- (?<currentValue>v\\d+\\.\\d+\\.\\d+) # renovate: kindest\\n"
|
|
],
|
|
"depNameTemplate": "kindest/node",
|
|
"datasourceTemplate": "docker"
|
|
}
|
|
]
|
|
}
|