From 1293b6896d328e0056ec1dd1562b4d881ae1ba6e Mon Sep 17 00:00:00 2001 From: matttrach Date: Mon, 18 Aug 2025 22:42:16 -0500 Subject: [PATCH] fix: use the full payload issue Signed-off-by: matttrach --- .github/workflows/backport.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index c4f202a..b210605 100644 --- a/.github/workflows/backport.yml +++ b/.github/workflows/backport.yml @@ -13,10 +13,8 @@ jobs: uses: actions/github-script@v7 with: script: | - console.log("The full event context:", JSON.stringify(context, null, 2)); - - const parentIssue = context.issue; - const parentIssueTitle = context.payload.issue.title; + const parentIssue = context.payload.issue; + const parentIssueTitle = parentIssue.title; const parentIssueNumber = parentIssue.number; const repo = parentIssue.repo; const owner = parentIssue.owner;