From 544894b4c640cf9f8e6dd226f6ce205e5f1c2bee Mon Sep 17 00:00:00 2001 From: Hans Rakers Date: Thu, 1 Aug 2024 10:10:19 +0200 Subject: [PATCH] Create dependabot.yaml --- .github/dependabot.yaml | 55 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 .github/dependabot.yaml diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml new file mode 100644 index 00000000..71cba4b0 --- /dev/null +++ b/.github/dependabot.yaml @@ -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"