Skip to content

Commit cb36c47

Browse files
🌱 Add dependabot groups. Allow additional patch updates (kubernetes-sigs#9263)
* Allow patch updates on dependabot ignore list Signed-off-by: killianmuldoon <[email protected]> * Add dependency groups for dependabot Signed-off-by: killianmuldoon <[email protected]> --------- Signed-off-by: killianmuldoon <[email protected]>
1 parent b8338f5 commit cb36c47

File tree

1 file changed

+33
-12
lines changed

1 file changed

+33
-12
lines changed

.github/dependabot.yaml

Lines changed: 33 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,24 @@ updates:
1919
schedule:
2020
interval: "weekly"
2121
day: "monday"
22+
## group all dependencies with a k8s.io prefix into a single PR.
23+
groups:
24+
kubernetes:
25+
patterns: [ "k8s.io/*" ]
2226
ignore:
2327
# Ignore controller-runtime as its upgraded manually.
2428
- dependency-name: "sigs.k8s.io/controller-runtime"
25-
# Ignore k8s and its transitives modules as they are upgraded manually
26-
# together with controller-runtime.
29+
update-types: [ "version-update:semver-major", "version-update:semver-minor" ]
30+
# Ignore k8s and its transitives modules as they are upgraded manually together with controller-runtime.
2731
- dependency-name: "k8s.io/*"
32+
update-types: [ "version-update:semver-major", "version-update:semver-minor" ]
2833
- dependency-name: "go.etcd.io/*"
34+
update-types: [ "version-update:semver-major", "version-update:semver-minor" ]
2935
- dependency-name: "google.golang.org/grpc"
30-
# Bumping the kustomize API independently can break compatibility with client-go as they share k8s.io/kube-openapi
31-
# as a dependency.
36+
update-types: [ "version-update:semver-major", "version-update:semver-minor" ]
37+
# Bumping the kustomize API independently can break compatibility with client-go as they share k8s.io/kube-openapi as a dependency.
3238
- dependency-name: "sigs.k8s.io/kustomize/api"
39+
update-types: [ "version-update:semver-major", "version-update:semver-minor" ]
3340
commit-message:
3441
prefix: ":seedling:"
3542
labels:
@@ -42,17 +49,24 @@ updates:
4249
schedule:
4350
interval: "weekly"
4451
day: "tuesday"
52+
## group all dependencies with a k8s.io prefix into a single PR.
53+
groups:
54+
kubernetes:
55+
patterns: [ "k8s.io/*" ]
4556
ignore:
4657
# Ignore controller-runtime as its upgraded manually.
4758
- dependency-name: "sigs.k8s.io/controller-runtime"
48-
# Ignore k8s and its transitives modules as they are upgraded manually
49-
# together with 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.
5061
- dependency-name: "k8s.io/*"
62+
update-types: [ "version-update:semver-major", "version-update:semver-minor" ]
5163
- dependency-name: "go.etcd.io/*"
64+
update-types: [ "version-update:semver-major", "version-update:semver-minor" ]
5265
- dependency-name: "google.golang.org/grpc"
53-
# Bumping the kustomize API independently can break compatibility with client-go as they share k8s.io/kube-openapi
54-
# as a dependency.
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.
5568
- dependency-name: "sigs.k8s.io/kustomize/api"
69+
update-types: [ "version-update:semver-major", "version-update:semver-minor" ]
5670
commit-message:
5771
prefix: ":seedling:"
5872
labels:
@@ -65,17 +79,24 @@ updates:
6579
schedule:
6680
interval: "weekly"
6781
day: "wednesday"
82+
## group all dependencies with a k8s.io prefix into a single PR.
83+
groups:
84+
kubernetes:
85+
patterns: [ "k8s.io/*" ]
6886
ignore:
6987
# Ignore controller-runtime as its upgraded manually.
7088
- dependency-name: "sigs.k8s.io/controller-runtime"
71-
# Ignore k8s and its transitives modules as they are upgraded manually
72-
# together with 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.
7391
- dependency-name: "k8s.io/*"
92+
update-types: [ "version-update:semver-major", "version-update:semver-minor" ]
7493
- dependency-name: "go.etcd.io/*"
94+
update-types: [ "version-update:semver-major", "version-update:semver-minor" ]
7595
- dependency-name: "google.golang.org/grpc"
76-
# Bumping the kustomize API independently can break compatibility with client-go as they share k8s.io/kube-openapi
77-
# as a dependency.
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.
7898
- dependency-name: "sigs.k8s.io/kustomize/api"
99+
update-types: [ "version-update:semver-major", "version-update:semver-minor" ]
79100
commit-message:
80101
prefix: ":seedling:"
81102
labels:

0 commit comments

Comments
 (0)