Skip to content

Commit

Permalink
ci: use dependabot group feature
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Madhu-1 committed Aug 29, 2023
1 parent ccc3aae commit c33bc58
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c33bc58

Please sign in to comment.