From a49607d03189152ff298db80c0a84a0555c7554b Mon Sep 17 00:00:00 2001 From: Bogdan Stanga Date: Thu, 21 Nov 2024 12:58:46 +0200 Subject: [PATCH] fix presubmit bug --- src/pull_request_comment.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pull_request_comment.ts b/src/pull_request_comment.ts index 1be7113..53ae769 100644 --- a/src/pull_request_comment.ts +++ b/src/pull_request_comment.ts @@ -84,7 +84,7 @@ export async function handlePullRequestComment() { await octokit.pulls.createReviewComment({ ...context.repo, pull_number: pull_request.number, - commit_id: pull_request.headSha, + commit_id: pull_request.head.sha, path: commentThread.file, body: response.response_comment, in_reply_to: commentThread.comments[0].id,