Skip to content

Commit 824e205

Browse files
roypatShadowCurse
authored andcommitted
feat: have dependabot also make PRs for rust dependencies
Use the dependabot template from rust-vmm-ci, so that we get grouped dependabot PRs for rust dependencies once a month (I noticed the other day that we're a major version behind in terms of zerocopy, so enabling dependabot makes sense imo). Also fixes the open pr limit for the rust-vmm-ci submodule to 1 (from 10). Signed-off-by: Patrick Roy <[email protected]>
1 parent c3abb7c commit 824e205

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

.github/dependabot.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,25 @@
11
version: 2
22
updates:
3+
4+
# A monthly update of the rust-vmm-ci submodule
35
- package-ecosystem: gitsubmodule
46
directory: "/"
57
schedule:
68
interval: monthly
7-
open-pull-requests-limit: 10
9+
open-pull-requests-limit: 1
10+
11+
# A monthly update to rust dependencies. These will be grouped,
12+
# e.g. one PR will contains updates for all dependencies.
13+
- package-ecosystem: cargo
14+
directory: "/"
15+
schedule:
16+
interval: monthly
17+
open-pull-requests-limit: 1
18+
# Make it also update transitive dependencies in Cargo.lock
19+
allow:
20+
- dependency-type: "all"
21+
# Group all available updates into a group called "rust-dependencies"
22+
groups:
23+
rust-dependencies:
24+
patterns:
25+
- "*"

0 commit comments

Comments
 (0)