|
1 | | -# To get started with Dependabot version updates, you'll need to specify which |
2 | | -# package ecosystems to update and where the package manifests are located. |
3 | 1 | # Please see the documentation for all configuration options: |
4 | 2 | # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates |
5 | | - |
6 | 3 | version: 2 |
7 | 4 | updates: |
| 5 | +# GitHub Actions |
| 6 | +- package-ecosystem: "github-actions" |
| 7 | + # Workflow files stored in the |
| 8 | + # default location of `.github/workflows` |
| 9 | + directory: "/" |
| 10 | + schedule: |
| 11 | + interval: "weekly" |
| 12 | + groups: |
| 13 | + all-github-actions: |
| 14 | + patterns: [ "*" ] |
| 15 | + commit-message: |
| 16 | + prefix: ":seedling:" |
| 17 | + labels: |
| 18 | + - "ok-to-test" |
8 | 19 |
|
9 | | - # Maintain dependencies for GitHub Actions |
10 | | - - package-ecosystem: "github-actions" |
11 | | - # Workflow files stored in the |
12 | | - # default location of `.github/workflows` |
13 | | - directory: "/" |
14 | | - schedule: |
15 | | - interval: "weekly" |
16 | | - commit-message: |
17 | | - prefix: ":seedling:" |
18 | | - labels: |
19 | | - - "ok-to-test" |
20 | | - |
21 | | - # Maintain dependencies for go |
22 | | - - package-ecosystem: "gomod" |
23 | | - directory: "/" |
24 | | - schedule: |
25 | | - interval: "weekly" |
26 | | - commit-message: |
27 | | - prefix: ":seedling:" |
28 | | - # Ignore K8 packages as these are done manually |
29 | | - ignore: |
30 | | - - dependency-name: "k8s.io/api" |
31 | | - - dependency-name: "k8s.io/apiextensions-apiserver" |
32 | | - - dependency-name: "k8s.io/apimachinery" |
33 | | - - dependency-name: "k8s.io/client-go" |
34 | | - - dependency-name: "k8s.io/component-base" |
35 | | - labels: |
36 | | - - "ok-to-test" |
37 | | - |
| 20 | +# Go modules |
| 21 | +- package-ecosystem: "gomod" |
| 22 | + directory: "/" |
| 23 | + schedule: |
| 24 | + interval: "weekly" |
| 25 | + # group all dependencies with a k8s.io prefix into a single PR. |
| 26 | + groups: |
| 27 | + all-go-mod-patch-and-minor: |
| 28 | + patterns: [ "*" ] |
| 29 | + update-types: [ "patch", "minor" ] |
| 30 | + ignore: |
| 31 | + # Ignore k8s and its transitives modules as they are upgraded manually. |
| 32 | + - dependency-name: "k8s.io/*" |
| 33 | + update-types: [ "version-update:semver-major", "version-update:semver-minor" ] |
| 34 | + commit-message: |
| 35 | + prefix: ":seedling:" |
| 36 | + labels: |
| 37 | + - "ok-to-test" |
0 commit comments