Skip to content

Commit 5965c50

Browse files
committed
ci: add minimumReleaseAge to Renovate config
This change introduces a 4-hour delay for all npm dependency updates to mitigate the risk of dependency chain attacks. This provides a window to detect and react to malicious publications. The cross-repo Angular dependencies are excluded from this rule as they are trusted sources.
1 parent 7016411 commit 5965c50

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

renovate-presets/default.json5

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,12 @@
7373
// ============================================================================
7474
// ECOSYSTEM-SPECIFIC GROUPING
7575
// ============================================================================
76+
// Delay NPM updates to mitigate dependency chain attacks by malicious actors.
77+
// This rule only affects direct dependencies.
78+
{
79+
minimumReleaseAge: '4 hours',
80+
matchManagers: ['npm'],
81+
},
7682

7783
// Group Bazel updates
7884
{
@@ -95,6 +101,7 @@
95101
enabled: true, // Enable NPM updates of cross-repo dependencies on all branches.
96102
groupName: 'cross-repo angular dependencies',
97103
followTag: 'next',
104+
minimumReleaseAge: null,
98105
separateMajorMinor: false,
99106
schedule: ['at any time'],
100107
matchPackageNames: [

0 commit comments

Comments
 (0)