Comment on page
MergeQueue
Using YAML actions:
mergequeue.instant_merge
Using Pilot JavaScript:
$mergequeue.instantMerge(...)
Instantly merge a pull request.
This action action expects an object argument with the following properties:
target
(string | null
)- The target pull request.The value should be a string of the form
<repo owner>/<repo name>#<issue number>
.If unspecified, the pull request associated with the incoming event is used (if any).
Using YAML actions:
mergequeue.pause
Using Pilot JavaScript:
$mergequeue.pause(...)
Pause a repository or branches within a repository.
This action action expects an object argument with the following properties:
target
(string | null
)- The target repository.The value should be a string of the form
<repo owner>/<repo name>
.If unspecified, the repository associated with the incoming event is used (if any).
branch_pattern
(string | null
)- The base branch (or glob pattern) to pause.If given as a glob pattern, all known branches that match the glob pattern will be paused.If not specified, the entire repository is paused.
paused_message
(string | null
)- A custom message that is added as a comment to pull requests while the pause is in effect.
Using YAML actions:
mergequeue.queue
Using Pilot JavaScript:
$mergequeue.queue(...)
Queue a pull request for merging.
This action action expects an object argument with the following properties:
target
(string | null
)- The target pull request.The value should be a string of the form
<repo owner>/<repo name>#<issue number>
.If unspecified, the pull request associated with the incoming event is used (if any).
Using YAML actions:
mergequeue.synchronize_pull_request
Using Pilot JavaScript:
$mergequeue.synchronizePullRequest(...)
Synchronize a pull request with its base branch.
This uses the repository's configured merge method to update the pull request with the latest commits from its base branch.
This action action expects an object argument with the following properties:
target
(string | null
)- The target pull request.The value should be a string of the form
<repo owner>/<repo name>#<issue number>
.If unspecified, the pull request associated with the incoming event is used (if any).
Using YAML actions:
mergequeue.unpause
Using Pilot JavaScript:
$mergequeue.unpause(...)
Unpause a repository or branches within a repository.
This action action expects an object argument with the following properties:
target
(string | null
)- The target repository.The value should be a string of the form
<repo owner>/<repo name>
.If unspecified, the repository associated with the incoming event is used (if any).
branch_pattern
(string | null
)- The base branch (or glob pattern) to unpause.If given as a glob pattern, all known branches that match the glob pattern will be un-paused.If not specified, the entire repository is unpaused.
Last modified 30d ago