Skip to content

Commit

Permalink
Create dependabot.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
hrak authored Aug 1, 2024
1 parent 5488f5a commit 544894b
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
version: 2
updates:
# GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
groups:
all-github-actions:
patterns: [ "*" ]
commit-message:
prefix: ":seedling:"
labels:
- "dependencies"
- "actions"

# Go modules
- package-ecosystem: "gomod"
directories:
- "/"
- "/test/e2e"
- "/hack/tools"
schedule:
interval: "weekly"
day: "monday"
## group all dependencies into a single PR.
groups:
all-go-mod-patch-and-minor:
patterns: [ "*" ]
update-types: [ "patch", "minor" ]
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 capi since it's tied to controller-runtime.
- dependency-name: "sigs.k8s.io/cluster-api"
update-types: [ "version-update:semver-major", "version-update:semver-minor" ]
- dependency-name: "sigs.k8s.io/cluster-api/test"
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" ]
- dependency-name: "github.com/prometheus/*"
update-types: [ "version-update:semver-major", "version-update:semver-minor"]
# Ignore kind as its upgraded manually.
- dependency-name: "sigs.k8s.io/kind"
update-types: [ "version-update:semver-major", "version-update:semver-minor" ]
# Bumping the kustomize API independently can break compatibility with client-go as they share k8s.io/kube-openapi as a dependency.
- dependency-name: "sigs.k8s.io/kustomize/api"
update-types: [ "version-update:semver-major", "version-update:semver-minor" ]
commit-message:
prefix: ":seedling:"
labels:
- "dependencies"
- "go"

0 comments on commit 544894b

Please sign in to comment.