Skip to content

Commit 02f6494

Browse files
authored
Fix another bug in the backport action (dotnet#32930)
- dotnet#32927 was incomplete - dotnet/runtime version of index.js is also incorrect
1 parent 6b6280f commit 02f6494

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eng/actions/backport/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ async function run() {
8686

8787
if (git_am_failed) {
8888
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!`;
89-
await octokit.issues.createComment({
89+
await octokit.rest.issues.createComment({
9090
owner: repo_owner,
9191
repo: repo_name,
9292
issue_number: pr_number,

0 commit comments

Comments
 (0)