From c33bc583b6501058696ccc1457aee11e46a65564 Mon Sep 17 00:00:00 2001 From: Madhu Rajanna Date: Tue, 29 Aug 2023 09:20:20 +0200 Subject: [PATCH] ci: use dependabot group feature enable dependabot raising PR by groups to reduce PR and save CI resources. This uses the beta groups feature of dependabot More details here https://docs.github.com/en/code-security/\ dependabot/dependabot-version-updates/\ configuration-options-for-the-dependabot.yml-file#groups Signed-off-by: Madhu Rajanna --- .github/dependabot.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 0d13462ffa58..c2cd3fa9d475 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,11 +1,26 @@ --- version: 2 +enable-beta-ecosystems: true updates: - package-ecosystem: "gomod" directory: "/" schedule: interval: "weekly" rebase-strategy: "disabled" + groups: + golang-dependencies: + patterns: + - "github.com/golang*" + k8s-dependencies: + patterns: + - "k8s.io*" + - "sigs.k8s.io*" + github-dependencies: + patterns: + - "github.com*" + exclude-patterns: + - "github.com/golang*" + - "github.com/container-storage-interface/spec" labels: - rebase commit-message: @@ -53,6 +68,19 @@ updates: schedule: interval: "weekly" rebase-strategy: "disabled" + groups: + golang-dependencies: + patterns: + - "github.com/golang*" + k8s-dependencies: + patterns: + - "k8s.io*" + - "sigs.k8s.io*" + github-dependencies: + patterns: + - "github.com*" + exclude-patterns: + - "github.com/golang*" labels: - rebase - ci/skip/e2e