Merge Queue: Draft PR Support
Merge QueueTrunk Merge Queue, by default, will now raise draft pull requests in order to test changes submitted to the merge queue! Trunk Merge Queue is now even easier to get started with and no longer requires any setup - simply create a Merge Queue, submit a pull request, and watch it get tested and merged.
![](/_next/image?url=https%3A%2F%2Fwww.datocms-assets.com%2F98527%2F1721697141-screenshot-2024-07-08-at-10-31-16-pm.png&w=3840&q=90)
Testing pull requests in the Merge Queue by raising draft PRs is especially useful since Trunk Merge Queue automatically syncs with your branch protection settings on GitHub. This means Trunk Merge Queue will use the same set of tests you configured on your GitHub Status Checks, keeping things simple and consistent.
Previously, Trunk Merge Queue would create an isolated branch containing the tip of main, the current changes in your pull request, and changes of all the PRs in front of this one in the queue. Developers would have to merge code changes to configure specifically what tests get triggered when we begin testing a PR.
This has its own benefits, but it requires configuring a custom GitHub Action Workflow, which can be very involved.
1on:2 push:3 branches:4 - trunk-merge/**
Now, you can get started with Trunk Merge Queue right away! This setting is also configurable, so you can always have Trunk Merge Queue create a branch instead if you wish to have more control over testing PRs in the merge queue.