Skip to content

Commit d85ba7b

Browse files
committed
ci(dependabot): add 7-day cooldown and group updates to reduce PR noise
1 parent 516ce5a commit d85ba7b

1 file changed

Lines changed: 19 additions & 1 deletion

File tree

.github/dependabot.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Please see the documentation for all configuration options:
2-
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
2+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
33

44
version: 2
55
updates:
@@ -8,12 +8,30 @@ updates:
88
directory: "/"
99
schedule:
1010
interval: "weekly"
11+
# Only pick up releases at least 7 days old, so brand-new
12+
# (and occasionally yanked/broken) releases settle first.
13+
cooldown:
14+
default-days: 7
15+
# Bundle all action bumps into a single PR.
16+
groups:
17+
github-actions:
18+
patterns:
19+
- "*"
1120
labels:
1221
- "dependencies"
1322

1423
- package-ecosystem: "composer"
1524
directory: "/"
1625
schedule:
1726
interval: "weekly"
27+
cooldown:
28+
default-days: 7
29+
# One PR for minor/patch bumps; majors stay separate PRs since
30+
# they can break consumers and need individual review.
31+
groups:
32+
composer-minor-patch:
33+
update-types:
34+
- "minor"
35+
- "patch"
1836
labels:
1937
- "dependencies"

0 commit comments

Comments
 (0)