Skip to content

Commit ffd0b4c

Browse files
Add a 14-day cooldown for dependency updates (#19258)
1 parent 2862c77 commit ffd0b4c

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

.github/dependabot.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,35 @@ updates:
55
directory: "/"
66
schedule:
77
interval: "weekly"
8+
# Prevent pulling packages that were recently updated to help mitigate
9+
# supply chain attacks. 14 days was taken from the recommendation at
10+
# https://blog.yossarian.net/2025/11/21/We-should-all-be-using-dependency-cooldowns
11+
# where the author noted that 9/10 attacks would have been mitigated by a
12+
# two week cooldown.
13+
#
14+
# The cooldown only applies to general updates; security updates will still
15+
# be pulled in as soon as possible.
16+
cooldown:
17+
default-days: 14
818

919
- package-ecosystem: "docker"
1020
directory: "/docker"
1121
schedule:
1222
interval: "weekly"
23+
cooldown:
24+
default-days: 14
1325

1426
- package-ecosystem: "github-actions"
1527
directory: "/"
1628
schedule:
1729
interval: "weekly"
30+
cooldown:
31+
default-days: 14
1832

1933
- package-ecosystem: "cargo"
2034
directory: "/"
2135
versioning-strategy: "lockfile-only"
2236
schedule:
2337
interval: "weekly"
38+
cooldown:
39+
default-days: 14

changelog.d/19258.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Require 14 days to pass before pulling in general dependency updates to help mitigate upstream supply chain attacks.

0 commit comments

Comments
 (0)