From fc4584d8b805be4e8193d43d9ba6519f9a0f43a5 Mon Sep 17 00:00:00 2001 From: Patrick Roy Date: Tue, 12 Aug 2025 11:35:11 +0100 Subject: [PATCH] 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 --- dependabot-monthly.yml | 6 ++++-- dependabot-weekly.yml | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/dependabot-monthly.yml b/dependabot-monthly.yml index ba49669..ec346f1 100644 --- a/dependabot-monthly.yml +++ b/dependabot-monthly.yml @@ -1,12 +1,15 @@ version: 2 updates: +# We do not set open-pull-requests-limit, as sometimes +# dependabot thinks the limit is hit without actually having +# any PRs open. In reality, the configs below can only result +# in at most one PR per package ecosyste manyway. # A monthly update of the rust-vmm-ci submodule - package-ecosystem: gitsubmodule directory: "/" schedule: interval: monthly - open-pull-requests-limit: 1 # A monthly update to rust dependencies. These will be grouped, # e.g. one PR will contains updates for all dependencies. @@ -14,7 +17,6 @@ updates: directory: "/" schedule: interval: monthly - open-pull-requests-limit: 1 # Make it also update transitive dependencies in Cargo.lock allow: - dependency-type: "all" diff --git a/dependabot-weekly.yml b/dependabot-weekly.yml index 973292a..1a652f2 100644 --- a/dependabot-weekly.yml +++ b/dependabot-weekly.yml @@ -1,13 +1,16 @@ version: 2 updates: +# We do not set open-pull-requests-limit, as sometimes +# dependabot thinks the limit is hit without actually having +# any PRs open. In reality, the configs below can only result +# in at most one PR per package ecosyste manyway. # A weekly update of the rust-vmm-ci submodule - package-ecosystem: gitsubmodule directory: "/" schedule: interval: weekly day: monday - open-pull-requests-limit: 1 # A weekly update to rust dependencies. These will be grouped, # e.g. one PR will contains updates for all dependencies. @@ -16,7 +19,6 @@ updates: schedule: interval: weekly day: monday - open-pull-requests-limit: 1 # Make it also update transitive dependencies in Cargo.lock allow: - dependency-type: "all"