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',