Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions renovate-presets/default.json5
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,15 @@
matchManagers: ['bazel', 'bazel-module', 'bazelisk'],
},

// Rule to disable NPM updates on branches other than 'main'.
// But allow updating engines and packageManagers.
// Rule to require manual approval for NPM 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.
{
enabled: false,
matchBaseBranches: ['!main'],
matchDepNames: ['!node', '!pnpm', '!npm', '!yarn'],
matchDepNames: ['*', '!node', '!pnpm', '!npm', '!yarn'],
matchManagers: ['npm'],
dependencyDashboardApproval: true,
},

// Group all non-major dependencies together for updates.
Expand All @@ -71,6 +73,7 @@
matchDepNames: ['*', '!node', '!pnpm', '!npm', '!yarn'],
matchUpdateTypes: ['digest', 'patch', 'minor'],
matchManagers: ['npm'],
matchBaseBranches: ['main'],
},

// ============================================================================
Expand Down
Loading