|
56 | 56 | matchManagers: ['bazel', 'bazel-module', 'bazelisk'], |
57 | 57 | }, |
58 | 58 |
|
59 | | - // Rule to disable NPM updates on branches other than 'main'. |
60 | | - // But allow updating engines and packageManagers. |
| 59 | + // Rule to require manual approval for NPM updates on branches other than 'main'. |
| 60 | + // This is to prevent auto updates to branches that are not the main branch. |
| 61 | + // But, still allows the updates to be manually selected in case of an important bug fix. |
| 62 | + // Engines and packageManagers are excluded from this rule. |
61 | 63 | { |
62 | | - enabled: false, |
63 | 64 | matchBaseBranches: ['!main'], |
64 | | - matchDepNames: ['!node', '!pnpm', '!npm', '!yarn'], |
| 65 | + matchDepNames: ['*', '!node', '!pnpm', '!npm', '!yarn'], |
65 | 66 | matchManagers: ['npm'], |
| 67 | + dependencyDashboardApproval: true, |
66 | 68 | }, |
67 | 69 |
|
68 | 70 | // Group all non-major dependencies together for updates. |
|
71 | 73 | matchDepNames: ['*', '!node', '!pnpm', '!npm', '!yarn'], |
72 | 74 | matchUpdateTypes: ['digest', 'patch', 'minor'], |
73 | 75 | matchManagers: ['npm'], |
| 76 | + matchBaseBranches: ['main'], |
74 | 77 | }, |
75 | 78 |
|
76 | 79 | // ============================================================================ |
|
0 commit comments