From dff676dc500f79678abd939e2877329e87465286 Mon Sep 17 00:00:00 2001 From: Doug Bunting <6431421+dougbu@users.noreply.github.com> Date: Mon, 24 May 2021 11:32:15 -0700 Subject: [PATCH] Fix another bug in the backport action (#53187) - #52938 was incomplete - see also dotnet/aspnetcore#32930 --- eng/actions/backport/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/actions/backport/index.js b/eng/actions/backport/index.js index 775c910..49a2c74 100644 --- a/eng/actions/backport/index.js +++ b/eng/actions/backport/index.js @@ -86,7 +86,7 @@ async function run() { if (git_am_failed) { const git_am_failed_body = `@${github.context.payload.comment.user.login} backporting to ${target_branch} failed, the patch most likely resulted in conflicts:\n\n\`\`\`shell\n${git_am_output}\n\`\`\`\n\nPlease backport manually!`; - await octokit.issues.createComment({ + await octokit.rest.issues.createComment({ owner: repo_owner, repo: repo_name, issue_number: pr_number, -- 2.7.4