Skip to content

Commit f4417bc

Browse files
committed
.github/dependabot.yml: enforce dependency cooldown
Mitigate some classes of supply chain attacks by delaying updates of our dependencies by seven days from their initial release. See: https://blog.yossarian.net/2025/11/21/We-should-all-be-using-dependency-cooldowns
1 parent 9f41f9c commit f4417bc

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/dependabot.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ updates:
1515
schedule:
1616
interval: "monthly"
1717
time: "02:00"
18+
# Allow updates to be delayed for a configurable number of days to mitigate
19+
# some classes of supply chain attacks
20+
cooldown:
21+
default-days: 7
1822
# Allow up to 10 open PRs for dependencies
1923
open-pull-requests-limit: 10
2024
# Group together some upgrades in a single PR
@@ -136,6 +140,10 @@ updates:
136140
schedule:
137141
interval: "monthly"
138142
time: "02:00"
143+
# Allow updates to be delayed for a configurable number of days to mitigate
144+
# some classes of supply chain attacks
145+
cooldown:
146+
default-days: 7
139147
# Allow up to 10 open PRs for dependencies
140148
open-pull-requests-limit: 10
141149
# Group together some upgrades in a single PR
@@ -257,6 +265,10 @@ updates:
257265
schedule:
258266
interval: "monthly"
259267
time: "02:00"
268+
# Allow updates to be delayed for a configurable number of days to mitigate
269+
# some classes of supply chain attacks
270+
cooldown:
271+
default-days: 7
260272
# Allow up to 10 open PRs for dependencies
261273
open-pull-requests-limit: 10
262274
# Group together some upgrades in a single PR
@@ -378,6 +390,10 @@ updates:
378390
schedule:
379391
interval: "monthly"
380392
time: "02:00"
393+
# Allow updates to be delayed for a configurable number of days to mitigate
394+
# some classes of supply chain attacks
395+
cooldown:
396+
default-days: 7
381397
# Allow up to 10 open PRs for dependencies
382398
open-pull-requests-limit: 10
383399
# Group together some upgrades in a single PR

0 commit comments

Comments
 (0)