Skip to content

Commit 5de88c9

Browse files
roypatShadowCurse
authored andcommitted
fix(dependabot): Adopt dependabot configs from rust-vmm-ci
linux-loader has not been getting rust-vmm-ci submodule updates since almost the beginning of the year, as dependabot thinks it exceeded its open PR limit (this is a bug with open-pull-request-limit: 1 that we already ran into in the kvm repository a few months ago). Fix this by adopting the example dependabot configs from rust-vmm-ci, which do not set open-pull-request-limit. Signed-off-by: Patrick Roy <[email protected]>
1 parent 81e9664 commit 5de88c9

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

.github/dependabot.yml

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,29 @@
11
version: 2
22
updates:
3+
4+
# We do not set open-pull-requests-limit, as sometimes
5+
# dependabot thinks the limit is hit without actually having
6+
# any PRs open. In reality, the configs below can only result
7+
# in at most one PR per package ecosyste manyway.
8+
# A weekly update of the rust-vmm-ci submodule
39
- package-ecosystem: gitsubmodule
410
directory: "/"
511
schedule:
612
interval: weekly
7-
open-pull-requests-limit: 1
13+
day: monday
14+
15+
# A weekly update to rust dependencies. These will be grouped,
16+
# e.g. one PR will contains updates for all dependencies.
817
- package-ecosystem: cargo
918
directory: "/"
10-
schedule:
19+
schedule:
1120
interval: weekly
12-
open-pull-requests-limit: 10
13-
rebase-strategy: "disabled"
21+
day: monday
22+
# Make it also update transitive dependencies in Cargo.lock
23+
allow:
24+
- dependency-type: "all"
25+
# Group all available updates into a group called "rust-dependencies"
26+
groups:
27+
rust-dependencies:
28+
patterns:
29+
- "*"

0 commit comments

Comments
 (0)