You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use Dependabot for updading go.mod and GH workflows
Maintaining our go.mod (we have 3 of them) up to date is a bit of work
and other cluster-api providers use dependabot to take care of it.
I took a look at the vsphere and azure providers and pretty much copy
pasted (with adjustments).
# Please see the documentation for all configuration options: https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
2
+
3
+
version: 2
4
+
updates:
5
+
6
+
# github-actions
7
+
- directory: "/"
8
+
package-ecosystem: "github-actions"
9
+
open-pull-requests-limit: 5
10
+
schedule:
11
+
interval: "weekly"
12
+
day: "monday"
13
+
groups:
14
+
all-github-actions:
15
+
patterns: [ "*" ]
16
+
commit-message:
17
+
prefix: ":seedling: chore(deps): bump"
18
+
include: scope
19
+
labels:
20
+
- "area/dependency"
21
+
- "ok-to-test"
22
+
23
+
# Go directories
24
+
- directories:
25
+
- "/"
26
+
- "/hack/tools"
27
+
- "/orc"
28
+
package-ecosystem: "gomod"
29
+
open-pull-requests-limit: 5
30
+
schedule:
31
+
interval: "weekly"
32
+
day: "monday"
33
+
## group all dependencies with a k8s.io prefix into a single PR.
34
+
groups:
35
+
all-go-mod-patch-and-minor:
36
+
patterns: [ "*" ]
37
+
update-types: [ "patch", "minor" ]
38
+
commit-message:
39
+
prefix: ":seedling: chore(deps): bump"
40
+
include: scope
41
+
ignore:
42
+
# Ignore controller-runtime as its upgraded manually.
0 commit comments