Skip to content

Commit 83fe4ed

Browse files
committed
chore: group patch and mnior updates
Intead of ignoring patch and minor updates, group them into a single PR which updates only the lockfile. This way we can spot any accidental breakage.
1 parent cfebdb1 commit 83fe4ed

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

.github/dependabot.yml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,34 @@
11
version: 2
22
updates:
3+
# `version-strategy` is not supported on a group level, hence we need two
4+
# separate rules for breaking and non-breaking changes.
5+
# Non breaking changes will be grouped in a single PR and only their
6+
# lock-files will be updated. This way we can see on the CI if any minor
7+
# update accidentally broke our code.
8+
# Breaking changes will create individual PRs.
39
- package-ecosystem: "cargo"
410
directory: "/"
511
schedule:
612
interval: "daily"
13+
groups:
14+
minor-and-patch-updates:
15+
patterns:
16+
- "*"
17+
update_types:
18+
- "minor"
19+
- "patch"
20+
versioning-strategy: lockfile-only
721
ignore:
822
- dependency-name: "*"
9-
update-types: ["version-update:semver-minor", "version-update:semver-patch"]
23+
update-types: ["version-update:semver-major"]
24+
- package-ecosystem: "cargo"
25+
directory: "/"
26+
schedule:
27+
interval: "daily"
28+
versioning-strategy: auto
29+
ignore:
30+
- dependency-name: "*"
31+
update-types: ["version-update:semver-patch", "version-update:semver-minor"]
1032

1133
- package-ecosystem: "github-actions"
1234
directory: "/"

0 commit comments

Comments
 (0)