From ade3ae7cb7911bffca7ac42ee3bcd1a03d0777df Mon Sep 17 00:00:00 2001 From: "trop[bot]" <37223003+trop[bot]@users.noreply.github.com> Date: Tue, 28 Oct 2025 13:59:46 -0700 Subject: [PATCH] ci: add more fields to Slack payload for backport requested message (#48686) * ci: add more fields to Slack payload for backport requested message Co-authored-by: David Sanders * chore: wrap values with toJSON Co-authored-by: David Sanders --------- Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: David Sanders --- .github/workflows/pull-request-labeled.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull-request-labeled.yml b/.github/workflows/pull-request-labeled.yml index 8d002e3dacdb..2db5f412b95b 100644 --- a/.github/workflows/pull-request-labeled.yml +++ b/.github/workflows/pull-request-labeled.yml @@ -19,7 +19,10 @@ jobs: webhook-type: webhook-trigger payload: | { - "url": "${{ github.event.pull_request.html_url }}" + "base_ref": ${{ toJSON(github.event.pull_request.base.ref) }}, + "title": ${{ toJSON(github.event.pull_request.title) }}, + "url": ${{ toJSON(github.event.pull_request.html_url) }}, + "user": ${{ toJSON(github.event.pull_request.user.login) }} } pull-request-labeled-deprecation-review-complete: name: deprecation-review/complete label added