We’ve added a newDocumentation Index
Fetch the complete documentation index at: https://docs.trunk.io/llms.txt
Use this file to discover all available pages before exploring further.
updateQueue API to Trunk Merge Queue that enables you to update a Merge Queue’s
state.
This means that you no longer need to manually go into the settings page in the web app to update
the merge queue state. Instead, queue state can be managed with custom tooling or automations using
updateQueue:
- RUNNING: PRs are being enqueued and are merged after tests pass. This is the default state for a merge queue.
- PAUSED: PRs in the queue are tested, but the queue will not merge successful PRs or begin testing new PRs. A queue can be paused as an immediate response to a CI incident, reducing noise from failures while preserving the order of PRs that have already been enqueued.
- DRAINING: PRs currently in the queue will be tested and merged, but new PRs will not begin testing. This state is helpful for use cases like a code freeze, so PRs in the queue can be shipped, but newly enqueued PRs are not tested or merged.