chore: Update renovate config, limit cargo updates

This commit is contained in:
Jade Ellis 2025-08-31 00:25:41 +01:00
commit b934898f51
No known key found for this signature in database
GPG key ID: 8705A2A3EBF77BD2
2 changed files with 60 additions and 59 deletions

View file

@ -26,3 +26,7 @@ max_line_length = 98
[*.yml] [*.yml]
indent_size = 2 indent_size = 2
indent_style = space indent_style = space
[*.json]
indent_size = 4
indent_style = space

View file

@ -1,21 +1,14 @@
{ {
"$schema": "https://docs.renovatebot.com/renovate-schema.json", "$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [ "extends": ["config:recommended"],
"config:recommended"
],
"lockFileMaintenance": { "lockFileMaintenance": {
"enabled": true, "enabled": true,
"schedule": [ "schedule": ["at any time"]
"at any time"
]
}, },
"nix": { "nix": {
"enabled": true "enabled": true
}, },
"labels": [ "labels": ["Dependencies", "Dependencies/Renovate"],
"Dependencies",
"Dependencies/Renovate"
],
"ignoreDeps": [ "ignoreDeps": [
"tikv-jemallocator", "tikv-jemallocator",
"tikv-jemalloc-sys", "tikv-jemalloc-sys",
@ -27,11 +20,11 @@
], ],
"github-actions": { "github-actions": {
"enabled": true, "enabled": true,
"fileMatch": [ "managerFilePatterns": [
"(^|/)\\.forgejo/workflows/[^/]+\\.ya?ml$", "/(^|/)\\.forgejo/workflows/[^/]+\\.ya?ml$/",
"(^|/)\\.forgejo/actions/[^/]+/action\\.ya?ml$", "/(^|/)\\.forgejo/actions/[^/]+/action\\.ya?ml$/",
"(^|/)\\.github/workflows/[^/]+\\.ya?ml$", "/(^|/)\\.github/workflows/[^/]+\\.ya?ml$/",
"(^|/)\\.github/actions/[^/]+/action\\.ya?ml$" "/(^|/)\\.github/actions/[^/]+/action\\.ya?ml$/"
] ]
}, },
"packageRules": [ "packageRules": [
@ -43,7 +36,7 @@
}, },
{ {
"description": "Group Rust toolchain updates into a single PR", "description": "Group Rust toolchain updates into a single PR",
"matchManagers": ["regex"], "matchManagers": ["custom.regex"],
"matchPackageNames": ["rust", "rustc", "cargo"], "matchPackageNames": ["rust", "rustc", "cargo"],
"groupName": "rust-toolchain" "groupName": "rust-toolchain"
}, },
@ -57,6 +50,10 @@
"matchManagers": ["cargo"], "matchManagers": ["cargo"],
"matchUpdateTypes": ["patch"], "matchUpdateTypes": ["patch"],
"groupName": "rust-patch-updates" "groupName": "rust-patch-updates"
},
{
"matchManagers": ["cargo"],
"prConcurrentLimit": 5
} }
] ]
} }