From 028d4385201cbf2dd4b51031070cdc4c1e569678 Mon Sep 17 00:00:00 2001 From: matttrach Date: Mon, 18 Aug 2025 21:57:32 -0500 Subject: [PATCH] fix: add console line to see context Signed-off-by: matttrach --- .github/workflows/backport.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index ff25a6d..c4f202a 100644 --- a/.github/workflows/backport.yml +++ b/.github/workflows/backport.yml @@ -13,6 +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 parentIssueNumber = parentIssue.number; @@ -23,8 +25,8 @@ jobs: const newIssue = await github.rest.issues.create({ owner: owner, repo: repo, - title: `Backport #" + parentIssueNumber + " to release/v0`, - body: `"Backport #" + parentIssueNumber + " to release/v0` + title: "Backport #" + parentIssueNumber + " to release/v0", + body: "Backport #" + parentIssueNumber + " to release/v0" }); const subIssueId = newIssue.data.id;