Skip to content

Commit d08f8bc

Browse files
Merge pull request #2703 from Shopify/reduce-dependabot-maintenance
Reduce dependabot maintenance costs
2 parents 587eff4 + af8aba3 commit d08f8bc

File tree

1 file changed

+33
-2
lines changed

1 file changed

+33
-2
lines changed

.github/dependabot.yml

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,25 @@ updates:
1010
directory: '/'
1111
# Check the npm registry for updates every day (weekdays)
1212
schedule:
13-
interval: 'daily'
13+
interval: 'weekly'
1414
# Dependabot defaults to 5 open pull requests at a time
1515
open-pull-requests-limit: 100
16+
# ignore versions already covered by a range
17+
# e.g: ^1.2.3 -> 1.2.4, would be ignored
18+
versioning-strategy: increase-if-necessary
19+
20+
# Cooldown is the number of days after a release to wait until opening a PR
21+
# This gives us more confidence changes can be merged because changes have been community tested.
22+
# See: https://github.blog/changelog/2025-07-01-dependabot-supports-configuration-of-a-minimum-package-age/
23+
cooldown:
24+
default-days: 14
25+
semver-major-days: 30
26+
semver-minor-days: 14
27+
semver-patch-days: 14
1628

17-
# Group together PRs of interdependant packages
1829
groups:
30+
31+
# Group together PRs of interdependant packages
1932
aws-sdk:
2033
patterns:
2134
- '@aws-sdk/client-dynamodb'
@@ -30,3 +43,21 @@ updates:
3043
patterns:
3144
- 'prisma'
3245
- '@prisma/client'
46+
jest-core:
47+
patterns:
48+
- 'jest'
49+
- 'jest-circus'
50+
react:
51+
patterns:
52+
- 'react'
53+
- 'react-dom'
54+
55+
# Group all patch updates not accounted for in prior groups in a single PR.
56+
# This reduces the number of PRs to review and rebase.
57+
# We skip development dependencies because those are auto-merged by .github/workflows/dependabot_auto_merge.yml
58+
patch-updates:
59+
patterns:
60+
- "*"
61+
update-types:
62+
- "patch"
63+
dependency-type: "production"

0 commit comments

Comments
 (0)