mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-09-15 17:26:58 +00:00
chore(renovate): Add auto-merge for renovatebot and reorganise package rules
Enable automatic merging of ghcr.io/renovatebot/renovate docker image updates to reduce manual maintenance overhead. Reorganise package rules by manager type (cargo, github-actions, docker) and add missing description for cargo concurrency limit rule to improve config maintainability.
This commit is contained in:
parent
2547eb3a90
commit
3d5355dfc3
1 changed files with 24 additions and 17 deletions
|
@ -30,10 +30,15 @@
|
||||||
},
|
},
|
||||||
"packageRules": [
|
"packageRules": [
|
||||||
{
|
{
|
||||||
"description": "Batch minor and patch GitHub Actions updates",
|
"description": "Batch patch-level Rust dependency updates",
|
||||||
"matchManagers": ["github-actions"],
|
"matchManagers": ["cargo"],
|
||||||
"matchUpdateTypes": ["minor", "patch"],
|
"matchUpdateTypes": ["patch"],
|
||||||
"groupName": "github-actions-non-major"
|
"groupName": "rust-patch-updates"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"description": "Limit concurrent Cargo PRs",
|
||||||
|
"matchManagers": ["cargo"],
|
||||||
|
"prConcurrentLimit": 5
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"description": "Group Rust toolchain updates into a single PR",
|
"description": "Group Rust toolchain updates into a single PR",
|
||||||
|
@ -42,25 +47,27 @@
|
||||||
"groupName": "rust-toolchain"
|
"groupName": "rust-toolchain"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"description": "Group lockfile updates into a single PR",
|
"description": "Batch minor and patch GitHub Actions updates",
|
||||||
"matchUpdateTypes": ["lockFileMaintenance"],
|
"matchManagers": ["github-actions"],
|
||||||
"groupName": "lockfile-maintenance"
|
"matchUpdateTypes": ["minor", "patch"],
|
||||||
},
|
"groupName": "github-actions-non-major"
|
||||||
{
|
|
||||||
"description": "Batch patch-level Rust dependency updates",
|
|
||||||
"matchManagers": ["cargo"],
|
|
||||||
"matchUpdateTypes": ["patch"],
|
|
||||||
"groupName": "rust-patch-updates"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"matchManagers": ["cargo"],
|
|
||||||
"prConcurrentLimit": 5
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"description": "Pin forgejo artifact actions to prevent breaking changes",
|
"description": "Pin forgejo artifact actions to prevent breaking changes",
|
||||||
"matchManagers": ["github-actions"],
|
"matchManagers": ["github-actions"],
|
||||||
"matchPackageNames": ["forgejo/upload-artifact", "forgejo/download-artifact"],
|
"matchPackageNames": ["forgejo/upload-artifact", "forgejo/download-artifact"],
|
||||||
"enabled": false
|
"enabled": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"description": "Auto-merge renovatebot docker image updates",
|
||||||
|
"matchDatasources": ["docker"],
|
||||||
|
"matchPackageNames": ["ghcr.io/renovatebot/renovate"],
|
||||||
|
"automerge": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"description": "Group lockfile updates into a single PR",
|
||||||
|
"matchUpdateTypes": ["lockFileMaintenance"],
|
||||||
|
"groupName": "lockfile-maintenance"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"customManagers": [
|
"customManagers": [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue