Pause / Unpause Queues via API
Pausing a queue allows you to control whether PRs should be merged to a certain branches.
Pausing all queues in a repository
You can prevent all PRs from merging in a repository. A repository can be paused from the repositories page or using the API:
Pausing queues via the base branch
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.
Checking if a queue is paused
You can also use a GET request to find the current pause status of all branches:
Last updated