diff --git a/changelog/2026-05-19-merge-queue-enqueue-by-label.mdx b/changelog/2026-05-19-merge-queue-enqueue-by-label.mdx new file mode 100644 index 0000000..4577f4a --- /dev/null +++ b/changelog/2026-05-19-merge-queue-enqueue-by-label.mdx @@ -0,0 +1,19 @@ +--- +title: "Merge Queue: Enqueue Pull Requests by Label" +description: "Apply a configured GitHub label to a PR to send it straight to the merge queue." +date: 2026-05-19 +category: Merge Queue +type: new-feature +--- + +**You can now send a PR to the merge queue by applying a configured GitHub label**, alongside the existing `/trunk merge` comment, web app, and CLI options. + +Configure a single label per repository (for example, `merge-queue` or `ready-to-merge`) under **Settings → Repositories → Merge Queue → Enqueue by label**. Once set, applying that label to any eligible open PR enqueues it automatically, and Trunk removes the label as soon as the queue picks the PR up. + +This makes it easy to plug Trunk Merge Queue into existing label-based GitHub workflows and automations — bots, GitHub Actions, and review tools that already manage labels can now drive the merge queue without learning a new command surface. + + +Removing the label does **not** cancel a PR that has already been picked up. Use `/trunk cancel`, the web app, or the CLI to cancel an in-flight PR. + + +[Read the docs](https://docs.trunk.io/merge-queue/using-the-queue/reference#enqueueing-by-label) to learn more. diff --git a/changelog/index.mdx b/changelog/index.mdx index 0b368a7..7c997e1 100644 --- a/changelog/index.mdx +++ b/changelog/index.mdx @@ -15,6 +15,12 @@ rss: true Automatic bot comment hiding, a skip-batching toggle, and Celebration Mode come to the Trunk for GitHub Chrome Extension. + + **[Merge Queue: Enqueue Pull Requests by Label](/changelog/2026-05-19-merge-queue-enqueue-by-label)** + + Apply a configured GitHub label to a PR to send it straight to the merge queue. + + **[Flaky Tests: Organization-Scoped Test Labels](/changelog/2026-05-18-flaky-tests-test-labels)** diff --git a/docs.json b/docs.json index 179c148..16f5b00 100644 --- a/docs.json +++ b/docs.json @@ -603,6 +603,7 @@ "group": "2026", "pages": [ "changelog/2026-05-19-merge-queue-chrome-extension-updates", + "changelog/2026-05-19-merge-queue-enqueue-by-label", "changelog/2026-05-18-flaky-tests-test-labels", "changelog/2026-05-18-flaky-tests-monitor-label-actions", "changelog/2026-05-18-flaky-tests-failure-count-monitor", diff --git a/merge-queue/changelog.mdx b/merge-queue/changelog.mdx index ef47fe8..2092153 100644 --- a/merge-queue/changelog.mdx +++ b/merge-queue/changelog.mdx @@ -15,6 +15,12 @@ rss: true Automatic bot comment hiding, a skip-batching toggle, and Celebration Mode come to the Trunk for GitHub Chrome Extension. + + **[Merge Queue: Enqueue Pull Requests by Label](/changelog/2026-05-19-merge-queue-enqueue-by-label)** + + Apply a configured GitHub label to a PR to send it straight to the merge queue. + + ### April 2026