Skip to content

Commit a096fba

Browse files
Group non-breaking dependabot PRs together to reduce review load (#18402)
1 parent e8710e7 commit a096fba

File tree

2 files changed

+47
-0
lines changed

2 files changed

+47
-0
lines changed

.github/dependabot.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,22 @@ updates:
99
open-pull-requests-limit: 10
1010
schedule:
1111
interval: "weekly"
12+
# Group patch updates to packages together into a single PR, as they rarely
13+
# if ever contain breaking changes that need to be reviewed separately.
14+
#
15+
# Less PRs means a streamlined review process.
16+
#
17+
# Python packages follow semantic versioning, and tend to only introduce
18+
# breaking changes in major version bumps. Thus, we'll group minor and patch
19+
# versions together.
20+
groups:
21+
minor-and-patches:
22+
applies-to: version-updates
23+
patterns:
24+
- "*"
25+
update-types:
26+
- "minor"
27+
- "patch"
1228
# Prevent pulling packages that were recently updated to help mitigate
1329
# supply chain attacks. 14 days was taken from the recommendation at
1430
# https://blog.yossarian.net/2025/11/21/We-should-all-be-using-dependency-cooldowns
@@ -25,6 +41,16 @@ updates:
2541
open-pull-requests-limit: 10
2642
schedule:
2743
interval: "weekly"
44+
# For container versions, breaking changes are also typically only introduced in major
45+
# package bumps.
46+
groups:
47+
minor-and-patches:
48+
applies-to: version-updates
49+
patterns:
50+
- "*"
51+
update-types:
52+
- "minor"
53+
- "patch"
2854
cooldown:
2955
default-days: 14
3056

@@ -33,6 +59,16 @@ updates:
3359
open-pull-requests-limit: 10
3460
schedule:
3561
interval: "weekly"
62+
# Similarly for GitHub Actions, breaking changes are typically only introduced in major
63+
# package bumps.
64+
groups:
65+
minor-and-patches:
66+
applies-to: version-updates
67+
patterns:
68+
- "*"
69+
update-types:
70+
- "minor"
71+
- "patch"
3672
cooldown:
3773
default-days: 14
3874

@@ -42,5 +78,15 @@ updates:
4278
versioning-strategy: "lockfile-only"
4379
schedule:
4480
interval: "weekly"
81+
# The Rust ecosystem is special in that breaking changes are often introduced
82+
# in minor version bumps, as packages typically stay pre-1.0 for a long time.
83+
# Thus we specifically keep minor version bumps separate in their own PRs.
84+
groups:
85+
patches:
86+
applies-to: version-updates
87+
patterns:
88+
- "*"
89+
update-types:
90+
- "patch"
4591
cooldown:
4692
default-days: 14

changelog.d/18402.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Group together dependabot update PRs to reduce the review load.

0 commit comments

Comments
 (0)