Skip to content

Commit 0ae7d87

Browse files
committed
Don't limit number of open Dependabot pull requests
The Dependabot service is used to keep the project dependencies updated. Thanks to the project's high quality validation infrastructure, the human effort required to complete a trivial version bump is minimal. However, some bumps may introduce breaking changes that would require a significant amount of effort to accommodate, or are blocked by external tasks. In this case, the Dependabot pull request can't be merged, but should be left open to track the need to perform the bump when it is feasible. This means that it should be expected that there will be regularly be a small number of Dependabot pull requests left open in the repository over long periods of time. The automated system is here to assist the human project maintainers, not as a tyrannical overlord, so this is the system working exactly as intended. By default, Dependabot is configured to stop submitting pull requests if it already has five open pull requests. This means that if it happens that the accumulation of intentionally on-hold pull requests reaches that number, the project stops receiving the easily handled trivial update PRs. This is very harmful because it results in the completely unnecessary use of outdated dependencies, and unnecessary challenging large bumps when pull requests start being submitted once more after the backlog is cleared. The harmful default configuration is hereby overridden by configuring the maximum open pull request limit at 100. This value was chosen as an arbitrary large number simply to functionally disable the limiting, rather than from any expectation that the actual number of open PRs can ever reach that count.
1 parent bfa7fde commit 0ae7d87

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/dependabot.yml

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ updates:
77
# See: https://docs.github.com/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
88
- package-ecosystem: github-actions
99
directory: /.github/workflows/
10+
open-pull-requests-limit: 100
1011
schedule:
1112
interval: daily
1213
labels:
@@ -17,6 +18,7 @@ updates:
1718
# Configure check for outdated GitHub Actions actions in workflow templates.
1819
- package-ecosystem: github-actions
1920
directory: /workflow-templates/
21+
open-pull-requests-limit: 100
2022
schedule:
2123
interval: daily
2224
labels:
@@ -26,6 +28,7 @@ updates:
2628

2729
- package-ecosystem: npm
2830
directory: /
31+
open-pull-requests-limit: 100
2932
schedule:
3033
interval: daily
3134
labels:
@@ -35,6 +38,7 @@ updates:
3538

3639
- package-ecosystem: pip
3740
directory: /
41+
open-pull-requests-limit: 100
3842
schedule:
3943
interval: daily
4044
labels:

0 commit comments

Comments
 (0)