Skip to content

Commit

Permalink
Merge pull request #4852 from vincepri/dependabot
Browse files Browse the repository at this point in the history
🌱 Align dependabot config with upstream cluster-api
  • Loading branch information
k8s-ci-robot authored Mar 6, 2024
2 parents b655f99 + 39397c9 commit 2289557
Showing 1 changed file with 50 additions and 19 deletions.
69 changes: 50 additions & 19 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,65 @@
version: 2
updates:
# GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
commit-message:
prefix: ":seedling:"
labels:
- "kind/cleanup"
- "area/ci"
- "ok-to-test"
- "release-note-none"

# Main Go module
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
commit-message:
prefix: ":seedling:"
labels:
- "kind/cleanup"
- "area/dependency"
- "ok-to-test"
- "release-note-none"
groups:
dependencies:
patterns:
- "*"
ignore:
# Ignore Cluster-API as its upgraded manually.
- dependency-name: "sigs.k8s.io/cluster-api*"
update-types: [ "version-update:semver-major", "version-update:semver-minor" ]
# Ignore controller-runtime as its upgraded manually.
- dependency-name: "sigs.k8s.io/controller-runtime"
# Ignore k8s and its transitives modules as they are upgraded manually
# together with 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" ]
- dependency-name: "go.etcd.io/*"
update-types: [ "version-update:semver-major", "version-update:semver-minor" ]
- dependency-name: "google.golang.org/grpc"
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" ]

- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
commit-message:
prefix: ":seedling:"
labels:
- "kind/cleanup"
- "area/dependency"
- "ok-to-test"
- "release-note-none"
groups:
dependencies:
patterns:
Expand All @@ -41,46 +70,48 @@ updates:
directory: "/hack/tools"
schedule:
interval: "weekly"
day: "wednesday"
commit-message:
prefix: ":seedling:"
labels:
- "kind/cleanup"
- "area/dependency"
- "ok-to-test"
- "release-note-none"
groups:
dependencies:
patterns:
- "*"
ignore:
# Ignore Cluster-API as its upgraded manually.
- dependency-name: "sigs.k8s.io/cluster-api*"
update-types: [ "version-update:semver-major", "version-update:semver-minor" ]
# Ignore controller-runtime as its upgraded manually.
- dependency-name: "sigs.k8s.io/controller-runtime"
# Ignore k8s and its transitives modules as they are upgraded manually
# together with 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/*"
# Ignore controller-tools as its upgraded manually.
- dependency-name: "sigs.k8s.io/controller-tools"
update-types: [ "version-update:semver-major", "version-update:semver-minor" ]
- dependency-name: "go.etcd.io/*"
update-types: [ "version-update:semver-major", "version-update:semver-minor" ]
- dependency-name: "google.golang.org/grpc"
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" ]

- package-ecosystem: "docker"
directory: "/hack/tools"
schedule:
interval: "weekly"
day: "wednesday"
commit-message:
prefix: ":seedling:"
labels:
- "kind/cleanup"
groups:
dependencies:
patterns:
- "*"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
commit-message:
prefix: ":seedling:"
labels:
- "kind/cleanup"
- "area/dependency"
- "ok-to-test"
- "release-note-none"
groups:
dependencies:
patterns:
Expand Down

0 comments on commit 2289557

Please sign in to comment.