Pause / Unpause Queues via API
Get guidelines on how to pause / unpause queues via API for MergeQueue. Pausing allows you to control whether PRs are merged to a specific branch.
Last updated
Was this helpful?
Get guidelines on how to pause / unpause queues via API for MergeQueue. Pausing allows you to control whether PRs are merged to a specific branch.
Last updated
Was this helpful?
allows you to control whether PRs should be merged to a certain branches.
You can prevent all PRs from merging in a repository. A repository can be paused from the or using the API:
Pausing the queue associated with a base branch can be helpful if you want to stop all merges while a release is being prepared. In this case, PRs that target all other base branches will continue merging regularly but the PRs associated with the specific base branch will be paused. Base branch pausing capability is only supported via the API:
The base branch API also takes an optional parameter called paused_message that provides an additional message in the GitHub comments for a PR when a queue is paused.
You can also use a GET request to find the current pause status of all branches: