-
Notifications
You must be signed in to change notification settings - Fork 288
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Configure dependabot to keep dependencies updated (#6906)
This configures dependabot to create PRs to update our dependencies even if there are not known vulnerabilities. It should facilitate to keep everything updated and not run into situations where we need to update everything at once, so we have more time to react.
- Loading branch information
Showing
1 changed file
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
version: 2 | ||
updates: | ||
# GitHub Actions | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
labels: | ||
- "dependabot" | ||
- "ok-to-test" | ||
# Main Go module | ||
- package-ecosystem: "gomod" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
day: "monday" | ||
## group all dependencies with a k8s.io prefix into a single PR. | ||
groups: | ||
kubernetes: | ||
patterns: [ "k8s.io/*" ] | ||
ignore: | ||
# Ignore controller-runtime as its upgraded manually. | ||
- dependency-name: "sigs.k8s.io/controller-runtime" | ||
update-types: [ "version-update:semver-major", "version-update:semver-minor" ] | ||
# Ignore k8s and its transitives modules as they are upgraded manually together with controller-runtime. | ||
- dependency-name: "k8s.io/*" | ||
update-types: [ "version-update:semver-major", "version-update:semver-minor" ] | ||
labels: | ||
- "dependabot" | ||
- "ok-to-test" | ||
# Release Go module | ||
- package-ecosystem: "gomod" | ||
directory: "/release" | ||
schedule: | ||
interval: "weekly" | ||
day: "tuesday" | ||
## group all dependencies with a k8s.io prefix into a single PR. | ||
groups: | ||
kubernetes: | ||
patterns: [ "k8s.io/*" ] | ||
ignore: | ||
# Ignore controller-runtime as its upgraded manually. | ||
- dependency-name: "sigs.k8s.io/controller-runtime" | ||
update-types: [ "version-update:semver-major", "version-update:semver-minor" ] | ||
# Ignore k8s and its transitives modules as they are upgraded manually together with controller-runtime. | ||
- dependency-name: "k8s.io/*" | ||
update-types: [ "version-update:semver-major", "version-update:semver-minor" ] | ||
labels: | ||
- "dependabot" | ||
- "ok-to-test" |