From 1d7f8fdcec457ea806f552c268a7d9979e0cd341 Mon Sep 17 00:00:00 2001 From: matttrach Date: Mon, 18 Aug 2025 23:20:57 -0500 Subject: [PATCH] fix: use the proper variable name Signed-off-by: matttrach --- .github/workflows/backport.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index b66c8d4..22d3603 100644 --- a/.github/workflows/backport.yml +++ b/.github/workflows/backport.yml @@ -30,7 +30,7 @@ jobs: const subIssueId = newIssue.data.id; // Attach the sub-issue to the parent using API request - await github.request('POST /repos/{owner}/{repo}/issues/{parentIssueNumber}/sub_issues', { + await github.request('POST /repos/{owner}/{repo}/issues/{issue_number}/sub_issues', { owner: owner, repo: repo, issue_number: parentIssueNumber,