Skip to content

Commit fc4584d

Browse files
committed
dependabot: drop open-pull-requests-limit
There seems to be a bug in dependabot where sometimes it refuses to open PRs due to hitting the pull request limit despite no PRs being open. The rust-vmm/kvm repository ran into this. To avoid this in the future, drop the open-pull-requests-limit key, which fixed the issue for rust-vmm/kvm. In practice, due to us only having a single submodule and due to cargo updates being grouped, we can only get at most one PR per ecosystem at a time anyway. Signed-off-by: Patrick Roy <[email protected]>
1 parent 0b1cb86 commit fc4584d

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

dependabot-monthly.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
11
version: 2
22
updates:
33

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.
48
# A monthly update of the rust-vmm-ci submodule
59
- package-ecosystem: gitsubmodule
610
directory: "/"
711
schedule:
812
interval: monthly
9-
open-pull-requests-limit: 1
1013

1114
# A monthly update to rust dependencies. These will be grouped,
1215
# e.g. one PR will contains updates for all dependencies.
1316
- package-ecosystem: cargo
1417
directory: "/"
1518
schedule:
1619
interval: monthly
17-
open-pull-requests-limit: 1
1820
# Make it also update transitive dependencies in Cargo.lock
1921
allow:
2022
- dependency-type: "all"

dependabot-weekly.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
version: 2
22
updates:
33

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.
48
# A weekly update of the rust-vmm-ci submodule
59
- package-ecosystem: gitsubmodule
610
directory: "/"
711
schedule:
812
interval: weekly
913
day: monday
10-
open-pull-requests-limit: 1
1114

1215
# A weekly update to rust dependencies. These will be grouped,
1316
# e.g. one PR will contains updates for all dependencies.
@@ -16,7 +19,6 @@ updates:
1619
schedule:
1720
interval: weekly
1821
day: monday
19-
open-pull-requests-limit: 1
2022
# Make it also update transitive dependencies in Cargo.lock
2123
allow:
2224
- dependency-type: "all"

0 commit comments

Comments
 (0)