Skip to content

Commit f85bee1

Browse files
authored
Set a cooldown policy for dependabot updates (#1349)
1 parent 574bf49 commit f85bee1

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

.github/dependabot.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,27 @@ updates:
1313
# lowest supported versions of Node APIs.
1414
- dependency-name: '@types/node'
1515
update-types: ['version-update:semver-major']
16+
open-pull-requests-limit: 10
17+
cooldown:
18+
default-days: 7
19+
semver-patch-days: 7
20+
semver-minor-days: 14
21+
semver-major-days: 21
22+
groups:
23+
minor-and-patch:
24+
applies-to: version-updates
25+
update-types:
26+
- 'minor'
27+
- 'patch'
28+
exclude-patterns:
29+
# TypeScript doesn't really follow semver.
30+
- typescript
1631

1732
- package-ecosystem: 'github-actions'
1833
# Workflow files stored in the
1934
# default location of `.github/workflows`
2035
directory: '/'
2136
schedule:
2237
interval: 'daily'
38+
cooldown:
39+
default-days: 7

0 commit comments

Comments
 (0)