From abe9da01135d9c322557a62fdf81b1e4f0a5229e Mon Sep 17 00:00:00 2001 From: "mintlify[bot]" <109931778+mintlify[bot]@users.noreply.github.com> Date: Mon, 16 Nov 2026 16:13:58 +0000 Subject: [PATCH] docs: add changelog entry for reading a pull request's impacted targets --- ...ests-api-monitors-labels-and-permissions.mdx | 1 - ...queue-read-pull-request-impacted-targets.mdx | 17 +++++++++++++++++ changelog/index.mdx | 6 ++++++ docs.json | 1 + merge-queue/changelog.mdx | 6 ++++++ 5 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 changelog/2026-11-16-merge-queue-read-pull-request-impacted-targets.mdx diff --git a/changelog/2026-11-16-flaky-tests-api-monitors-labels-and-permissions.mdx b/changelog/2026-11-16-flaky-tests-api-monitors-labels-and-permissions.mdx index 295c157a..bf9075b1 100644 --- a/changelog/2026-11-16-flaky-tests-api-monitors-labels-and-permissions.mdx +++ b/changelog/2026-11-16-flaky-tests-api-monitors-labels-and-permissions.mdx @@ -19,6 +19,5 @@ type: new-feature ### Updates - **New API key permissions.** Flaky Tests writes now need a matching permission on the API key: **Quarantine tests**, **Flag tests**, **Manage monitors**, **Mute monitors**, **Link tickets** and **Create tickets**. A key without permissions can still read collections, tests, monitors and detection events. If a key lacks a permission, the API returns `403 INSUFFICIENT_PERMISSIONS`. See [Permissions](/api/authentication#permissions). -- **Read a pull request's impacted targets.** A new v2 endpoint returns the impacted targets uploaded for a pull request. See the [API reference](/api) for all v2 endpoints. diff --git a/changelog/2026-11-16-merge-queue-read-pull-request-impacted-targets.mdx b/changelog/2026-11-16-merge-queue-read-pull-request-impacted-targets.mdx new file mode 100644 index 00000000..73009e7e --- /dev/null +++ b/changelog/2026-11-16-merge-queue-read-pull-request-impacted-targets.mdx @@ -0,0 +1,17 @@ +--- +title: "Merge Queue: Read a pull request's impacted targets" +description: "A new v2 endpoint returns the impacted targets uploaded for a pull request, so you can reuse them after it merges." +date: 2026-11-16 +category: Merge Queue +type: new-feature +--- + +**You can now read back the impacted targets you uploaded for a pull request.** + +### New features + +- **Read a pull request's impacted targets.** [Get a pull request's impacted targets](/api/pullrequests/get-a-pull-requests-impacted-targets) returns the targets uploaded for the pull request's head commit. Use it after the pull request merges, for example to run only the post-merge jobs those targets affect. +- **Works with squash merges.** The answer comes from the pull request's head commit, so a squash merge doesn't change it. +- **Needs an API key.** The GitHub Actions login can upload targets but can't read them. See [Authentication](/api/authentication). + +See [Upload impacted targets from GitHub Actions](/merge-queue/optimizations/parallel-queues/github-actions) for the full upload and read flow. diff --git a/changelog/index.mdx b/changelog/index.mdx index 37379986..2352142c 100644 --- a/changelog/index.mdx +++ b/changelog/index.mdx @@ -14,6 +14,12 @@ rss: true Manage monitors, mute them per test, mark tests flaky, label tests and read detection events through the v2 API, with new API key permissions. + + **[Merge Queue: Read a pull request's impacted targets](/changelog/2026-11-16-merge-queue-read-pull-request-impacted-targets)** + + A new v2 endpoint returns the impacted targets uploaded for a pull request, so you can reuse them after it merges. + + **[Browser Extension 1.12.0: GitHub's new pull request Overview page](/changelog/2026-11-10-browser-extension-1-12-0)** diff --git a/docs.json b/docs.json index 64cdd82c..452f4a23 100644 --- a/docs.json +++ b/docs.json @@ -1026,6 +1026,7 @@ "group": "November", "pages": [ "changelog/2026-11-16-flaky-tests-api-monitors-labels-and-permissions", + "changelog/2026-11-16-merge-queue-read-pull-request-impacted-targets", "changelog/2026-11-10-browser-extension-1-12-0", "changelog/2026-11-04-dynamic-ci-impacts-and-action-updates", "changelog/2026-11-03-code-quality-cli-1-29-0" diff --git a/merge-queue/changelog.mdx b/merge-queue/changelog.mdx index e9859dee..456e341f 100644 --- a/merge-queue/changelog.mdx +++ b/merge-queue/changelog.mdx @@ -9,6 +9,12 @@ og:title: "Trunk Merge Queue changelog" ### November 2026 + + **[Merge Queue: Read a pull request's impacted targets](/changelog/2026-11-16-merge-queue-read-pull-request-impacted-targets)** + + A new v2 endpoint returns the impacted targets uploaded for a pull request, so you can reuse them after it merges. + + **[Browser Extension 1.12.0: GitHub's new pull request Overview page](/changelog/2026-11-10-browser-extension-1-12-0)**