Skip to content

Commit 5b4a342

Browse files
authored
Merge pull request kubernetes-sigs#10571 from sbueringer/pr-optim-dependabot
🌱 Optimize dependabot config
2 parents c6783a2 + cfc1349 commit 5b4a342

File tree

1 file changed

+11
-64
lines changed

1 file changed

+11
-64
lines changed

.github/dependabot.yaml

Lines changed: 11 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,29 @@ updates:
77
directory: "/"
88
schedule:
99
interval: "weekly"
10+
groups:
11+
all-github-actions:
12+
patterns: [ "*" ]
1013
commit-message:
1114
prefix: ":seedling:"
1215
labels:
1316
- "area/ci"
1417
- "ok-to-test"
1518

16-
# Main Go module
19+
# Go modules
1720
- package-ecosystem: "gomod"
18-
directory: "/"
21+
directories:
22+
- "/"
23+
- "/test"
24+
- "/hack/tools"
1925
schedule:
2026
interval: "weekly"
2127
day: "monday"
2228
## group all dependencies with a k8s.io prefix into a single PR.
2329
groups:
24-
kubernetes:
25-
patterns: [ "k8s.io/*" ]
30+
all-go-mod-patch-and-minor:
31+
patterns: [ "*" ]
32+
update-types: [ "patch", "minor" ]
2633
ignore:
2734
# Ignore controller-runtime as its upgraded manually.
2835
- dependency-name: "sigs.k8s.io/controller-runtime"
@@ -42,63 +49,3 @@ updates:
4249
labels:
4350
- "area/dependency"
4451
- "ok-to-test"
45-
46-
# Test Go module
47-
- package-ecosystem: "gomod"
48-
directory: "/test"
49-
schedule:
50-
interval: "weekly"
51-
day: "tuesday"
52-
## group all dependencies with a k8s.io prefix into a single PR.
53-
groups:
54-
kubernetes:
55-
patterns: [ "k8s.io/*" ]
56-
ignore:
57-
# Ignore controller-runtime as its upgraded manually.
58-
- dependency-name: "sigs.k8s.io/controller-runtime"
59-
update-types: [ "version-update:semver-major", "version-update:semver-minor" ]
60-
# Ignore k8s and its transitives modules as they are upgraded manually together with controller-runtime.
61-
- dependency-name: "k8s.io/*"
62-
update-types: [ "version-update:semver-major", "version-update:semver-minor" ]
63-
- dependency-name: "go.etcd.io/*"
64-
update-types: [ "version-update:semver-major", "version-update:semver-minor" ]
65-
- dependency-name: "google.golang.org/grpc"
66-
update-types: [ "version-update:semver-major", "version-update:semver-minor" ]
67-
# Bumping the kustomize API independently can break compatibility with client-go as they share k8s.io/kube-openapi as a dependency.
68-
- dependency-name: "sigs.k8s.io/kustomize/api"
69-
update-types: [ "version-update:semver-major", "version-update:semver-minor" ]
70-
commit-message:
71-
prefix: ":seedling:"
72-
labels:
73-
- "area/dependency"
74-
- "ok-to-test"
75-
76-
# Hack/tools Go module
77-
- package-ecosystem: "gomod"
78-
directory: "/hack/tools"
79-
schedule:
80-
interval: "weekly"
81-
day: "wednesday"
82-
## group all dependencies with a k8s.io prefix into a single PR.
83-
groups:
84-
kubernetes:
85-
patterns: [ "k8s.io/*" ]
86-
ignore:
87-
# Ignore controller-runtime as its upgraded manually.
88-
- dependency-name: "sigs.k8s.io/controller-runtime"
89-
update-types: [ "version-update:semver-major", "version-update:semver-minor" ]
90-
# Ignore k8s and its transitives modules as they are upgraded manually together with controller-runtime.
91-
- dependency-name: "k8s.io/*"
92-
update-types: [ "version-update:semver-major", "version-update:semver-minor" ]
93-
- dependency-name: "go.etcd.io/*"
94-
update-types: [ "version-update:semver-major", "version-update:semver-minor" ]
95-
- dependency-name: "google.golang.org/grpc"
96-
update-types: [ "version-update:semver-major", "version-update:semver-minor" ]
97-
# Bumping the kustomize API independently can break compatibility with client-go as they share k8s.io/kube-openapi as a dependency.
98-
- dependency-name: "sigs.k8s.io/kustomize/api"
99-
update-types: [ "version-update:semver-major", "version-update:semver-minor" ]
100-
commit-message:
101-
prefix: ":seedling:"
102-
labels:
103-
- "area/dependency"
104-
- "ok-to-test"

0 commit comments

Comments
 (0)