Skip to content

Commit c3b1183

Browse files
authored
ci: Use new dependabot multimodule capabilities (#664)
This is currently in beta but should simplify updates across the project by updating all dependencies in a single PR.
1 parent 7ccc23b commit c3b1183

File tree

1 file changed

+14
-25
lines changed

1 file changed

+14
-25
lines changed

.github/dependabot.yml

Lines changed: 14 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -9,34 +9,23 @@
99
version: 2
1010
updates:
1111
- package-ecosystem: "gomod"
12-
directory: "/"
13-
schedule:
14-
interval: "weekly"
15-
groups:
16-
k8s:
17-
patterns:
18-
- "k8s.io*"
19-
- "sigs.k8s.io*"
20-
21-
- package-ecosystem: "gomod"
22-
directory: "/common"
23-
schedule:
24-
interval: "weekly"
25-
groups:
26-
k8s:
27-
patterns:
28-
- "k8s.io*"
29-
- "sigs.k8s.io*"
30-
31-
- package-ecosystem: "gomod"
32-
directory: "/api"
12+
directories:
13+
- "/"
14+
- "/common"
15+
- "/api"
3316
schedule:
3417
interval: "weekly"
3518
groups:
36-
k8s:
37-
patterns:
38-
- "k8s.io*"
39-
- "sigs.k8s.io*"
19+
all-go-mod-patch-and-minor:
20+
patterns: [ "*" ]
21+
update-types: [ "patch", "minor" ]
22+
ignore:
23+
# Ignore controller-runtime major and minor as it's upgraded together with sigs.k8s.io/cluster-api.
24+
- dependency-name: "sigs.k8s.io/controller-runtime"
25+
update-types: [ "version-update:semver-major", "version-update:semver-minor" ]
26+
# Ignore k8s modules major and minor as they are upgraded together with controller-runtime.
27+
- dependency-name: "k8s.io/*"
28+
update-types: [ "version-update:semver-major", "version-update:semver-minor" ]
4029

4130
- package-ecosystem: "gomod"
4231
directory: "/hack/third-party/capa"

0 commit comments

Comments
 (0)