Add dependabot cooldown and open pr limit [WHIT-3369]#2544
Merged
Conversation
govuk-dependabot-auto-merger will soon require the dependabot config to include a cooldown period for it to merge external dependendcies. This commit adds a 3 day cooldown to all package ecosystems.
This is an [incident action](https://docs.google.com/document/d/1D-j1Z-p7C-tK5rkYcesOCaqGqRhM7JEfMCSisLdsJf4/edit?tab=t.0). As per [the docs](https://docs.github.com/en/code-security/reference/supply-chain-security/dependabot-options-reference#open-pull-requests-limit-)... > Dependabot default behavior: > If five pull requests with version updates are open, no further pull requests are raised until some of those open requests are merged or closed. > Security updates have a separate, internal limit of ten open pull requests which cannot be changed. > > When open-pull-requests-limit is defined: > Dependabot opens pull requests up to the defined integer value. A large value can be set to effectively remove the open pull request limit. Raising the limit to 25 as agreed in https://gov-uk.atlassian.net/browse/WHIT-3369, in line with other repos.
GDSNewt
approved these changes
May 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a dependabot cooldown of 3 days and increases the upper limit on dependabot PRs to 25, as agreed in https://gov-uk.atlassian.net/browse/WHIT-3369