Merge Queue
Public Trunk Merge Queue API. All requests should be authenticated.
Last updated
Public Trunk Merge Queue API. All requests should be authenticated.
Last updated
The Trunk Merge Queue API provides access to submit PRs for testing and merging, canceling PRs, and providing extra information to optimize the queue. The API is an HTTP REST API, returns JSON from all requests, and uses standard HTTP response codes.
All requests must be authenticated by providing the x-api-token
header.
{"host":"github.com","owner":"trunk-io","name":"trunk"}
{"number":1}
The branch the merge queue will be merging PRs into
main
The priority name to assign to the PR when it begins testing in the queue
The priority number (0 - 255, 0 is the highest) to assign to the PR when it begins testing in the queue
No body
{"host":"github.com","owner":"trunk-io","name":"trunk"}
{"number":1}
The branch the merge queue will be merging PRs into
main
The priority name to assign to the PR when it begins testing in the queue
The priority number (0 - 255, 0 is the highest) to assign to the PR when it begins testing in the queue
{"host":"github.com","owner":"trunk-io","name":"trunk"}
{"number":1}
The branch the merge queue will be merging PRs into
main
No body
{"host":"github.com","owner":"trunk-io","name":"trunk"}
{"number":1}
The branch the merge queue will be merging PRs into
main
No body
{"host":"github.com","owner":"trunk-io","name":"trunk"}
The branch the merge queue will be merging PRs into
main
Upload impacted targets for the PR and its current SHA. Used specifically when running the queue in Parallel mode
{"host":"github.com","owner":"trunk-io","name":"trunk"}
{"number":1,"sha":"1234567890abcdef"}
The branch the merge queue will be merging PRs into
main
Name of the target impacted by the changes in the pull request
Special value to indicate that all targets are impacted by the changes in the pull request
No body