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.
Pausing all queues in a repository
curl -X POST \
-H "Authorization: Bearer <aviator_token>" \
-H "Content-Type: application/json" \
-d '{"org": "org_name", "name": "repo_name", "paused": true }' \
https://api.aviator.co/api/v1/repo/Pausing queues via the base branch
curl -X POST \
-H "Authorization: Bearer <aviator_token>" \
-H "Content-Type: application/json" \
-d '{ "pattern": "release-*", "repository": {"org": "aviator", "name": "av-demo-release"}, "paused": true, "paused_message": "This release branch has been paused."}' \
https://api.aviator.co/api/v1/branchesChecking if a queue is paused
Last updated
Was this helpful?
