Skip to content

Commit ac2d1ee

Browse files
authored
feat: add update cooldown to dependabot for supply-chain safety (#238)
Wait 7 days after a minor/patch release and 14 days after a major release before opening update PRs. Gives the ecosystem time to catch and remove malicious releases (e.g. compromised packages, hijacked actions) before they land in the dependency graph.
1 parent bc80151 commit ac2d1ee

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ updates:
66
interval: daily
77
labels:
88
- Dependencies
9+
# Wait after release before opening update PRs — gives the ecosystem time
10+
# to catch malicious releases (supply-chain protection).
11+
cooldown:
12+
default-days: 7
13+
semver-major-days: 14
914
# Major updates land as separate PRs so they can be reviewed individually.
1015
# Note: only the first matching group applies, so the phpunit group must
1116
# come before the catch-all dev-dependencies group.
@@ -32,6 +37,11 @@ updates:
3237
interval: weekly
3338
labels:
3439
- Dependencies
40+
# Actions are pulled by SHA, but a compromised release is still a risk —
41+
# wait a week so takedowns/reverts can happen first.
42+
cooldown:
43+
default-days: 7
44+
semver-major-days: 14
3545
groups:
3646
github-actions:
3747
patterns:

0 commit comments

Comments
 (0)