2023-01-04 07:37:30 +00:00
|
|
|
{
|
|
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
2023-03-07 13:16:50 +00:00
|
|
|
"extends": ["forgejo-contrib/forgejo-renovate//base.json"],
|
2023-01-04 07:37:30 +00:00
|
|
|
"assignees": ["viceice"],
|
2024-02-07 11:03:33 +00:00
|
|
|
"enabledManagers": ["helmv3", "nodenv", "npm", "regex", "github-actions"],
|
2023-01-04 07:37:30 +00:00
|
|
|
"packageRules": [
|
2023-01-04 14:22:17 +00:00
|
|
|
{
|
|
|
|
"matchManagers": ["helmv3"],
|
|
|
|
"matchUpdateTypes": ["minor", "patch"],
|
|
|
|
"semanticCommitType": "fix"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"matchManagers": ["helmv3"],
|
|
|
|
"matchUpdateTypes": ["major"],
|
|
|
|
"semanticCommitType": "feat"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"matchManagers": ["regex"],
|
2023-01-19 11:44:04 +00:00
|
|
|
"matchDepNames": ["forgejo"],
|
|
|
|
"matchUpdateTypes": ["patch"],
|
2023-01-04 14:22:17 +00:00
|
|
|
"semanticCommitType": "fix"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"matchManagers": ["regex"],
|
2023-01-19 11:44:04 +00:00
|
|
|
"matchDepNames": ["forgejo"],
|
|
|
|
"matchUpdateTypes": ["major", "minor"],
|
2023-01-04 14:22:17 +00:00
|
|
|
"semanticCommitType": "feat"
|
2023-01-05 14:52:53 +00:00
|
|
|
},
|
2023-01-19 11:48:01 +00:00
|
|
|
{
|
|
|
|
"description": "Automerge patch deps updates",
|
|
|
|
"matchManagers": ["helmv3"],
|
|
|
|
"matchFiles": ["Chart.yaml"],
|
|
|
|
"matchUpdateTypes": ["patch"],
|
2023-04-03 06:47:10 +00:00
|
|
|
"automerge": true
|
2023-07-03 13:00:36 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"description": "Automerge dev deps updates",
|
|
|
|
"matchManagers": ["npm"],
|
2023-12-06 10:33:03 +00:00
|
|
|
"matchDepTypes": ["devDependencies"],
|
2024-01-25 07:45:19 +00:00
|
|
|
"matchUpdateTypes": ["minor", "patch"],
|
2023-07-03 13:00:36 +00:00
|
|
|
"automerge": true
|
2023-12-07 15:56:12 +00:00
|
|
|
},
|
2024-02-07 11:46:49 +00:00
|
|
|
{
|
|
|
|
"description": "Automerge node updates",
|
|
|
|
"matchManagers": ["nodenv"],
|
|
|
|
"matchUpdateTypes": ["minor", "patch"],
|
|
|
|
"automerge": true
|
|
|
|
},
|
2024-02-27 08:43:16 +00:00
|
|
|
{
|
|
|
|
"description": "Automerge pnpm updates",
|
|
|
|
"matchDepNames": ["pnpm"],
|
|
|
|
"matchUpdateTypes": ["minor", "patch"],
|
|
|
|
"automerge": true
|
|
|
|
},
|
2023-12-07 15:56:12 +00:00
|
|
|
{
|
|
|
|
"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
|
2023-01-04 14:22:17 +00:00
|
|
|
}
|
|
|
|
],
|
2023-12-06 10:33:03 +00:00
|
|
|
"customManagers": [
|
2023-01-04 14:22:17 +00:00
|
|
|
{
|
2023-04-17 10:21:27 +00:00
|
|
|
"description": "Update forgeo version in chart",
|
2023-12-06 10:33:03 +00:00
|
|
|
"customType": "regex",
|
2023-01-04 14:22:17 +00:00
|
|
|
"fileMatch": ["^Chart\\.yaml$"],
|
|
|
|
"matchStrings": ["appVersion: (?<currentValue>.+?)\\s"],
|
|
|
|
"depNameTemplate": "forgejo",
|
|
|
|
"packageNameTemplate": "codeberg.org/forgejo/forgejo",
|
|
|
|
"datasourceTemplate": "docker"
|
2023-04-17 09:40:06 +00:00
|
|
|
},
|
2023-12-06 10:33:03 +00:00
|
|
|
{
|
|
|
|
"description": "Detect helm-unittest yaml schema file",
|
|
|
|
"customType": "regex",
|
|
|
|
"fileMatch": [".vscode/settings\\.json$"],
|
|
|
|
"matchStrings": [
|
2024-03-20 14:55:09 +00:00
|
|
|
"https://raw\\.githubusercontent\\.com/helm-unittest/helm-unittest/(?<currentValue>v[0-9.]+?)/schema/helm-testsuite\\.json"
|
2023-12-06 10:33:03 +00:00
|
|
|
],
|
2024-03-20 14:55:09 +00:00
|
|
|
"depNameTemplate": "helm-unittest",
|
|
|
|
"packageNameTemplate": "helm-unittest/helm-unittest",
|
2023-12-06 10:33:03 +00:00
|
|
|
"datasourceTemplate": "github-releases"
|
2023-12-07 15:56:12 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"customType": "regex",
|
|
|
|
"description": "Update kindest kubernetes references",
|
2024-03-20 14:55:09 +00:00
|
|
|
"fileMatch": ["^\\.forgejo/workflows/[^/]+\\.ya?ml$"],
|
2023-12-07 15:56:12 +00:00
|
|
|
"matchStrings": [
|
|
|
|
" +- (?<currentValue>v\\d+\\.\\d+\\.\\d+) # renovate: kindest\\n"
|
|
|
|
],
|
|
|
|
"depNameTemplate": "kindest/node",
|
|
|
|
"datasourceTemplate": "docker"
|
2023-01-04 07:37:30 +00:00
|
|
|
}
|
2023-10-16 14:01:18 +00:00
|
|
|
]
|
2023-01-04 07:37:30 +00:00
|
|
|
}
|