From 8a0c003b7f0aa69a84137d554cff2a599ace0a67 Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Mon, 12 Oct 2026 10:10:46 +0000 Subject: [PATCH] feat(renovate-presets): group cargo dependencies and require approval on non-main branches --- renovate-presets/default.json5 | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/renovate-presets/default.json5 b/renovate-presets/default.json5 index 902d58bef6..9d6568d7ec 100644 --- a/renovate-presets/default.json5 +++ b/renovate-presets/default.json5 @@ -56,14 +56,14 @@ }, }, - // Rule to require manual approval for NPM updates on branches other than 'main'. + // Rule to require manual approval for NPM and Rust updates on branches other than 'main'. // This is to prevent auto updates to branches that are not the main branch. // But, still allows the updates to be manually selected in case of an important bug fix. // Engines and packageManagers are excluded from this rule. { matchBaseBranches: ['!main'], matchDepNames: ['*', '!node', '!pnpm', '!npm', '!yarn'], - matchManagers: ['npm'], + matchManagers: ['npm', 'cargo'], dependencyDashboardApproval: true, }, @@ -119,6 +119,14 @@ matchManagers: ['npm'], }, + // Group Rust updates + { + groupName: 'rust dependencies', + matchManagers: ['cargo'], + matchUpdateTypes: ['digest', 'patch', 'minor'], + schedule: ['* 6-10 * * 4'], // 6:00 am to 10:00 am Every Thursday + }, + // Group Bazel updates { groupName: 'bazel dependencies',