Skip to content
This repository was archived by the owner on Mar 6, 2024. It is now read-only.

fix #221

Merged
merged 1 commit into from
Apr 20, 2023
Merged

fix #221

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions src/review.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,13 @@ export const codeReview = async (
SUMMARIZE_TAG,
context.payload.pull_request.number
)
let existing_commit_ids_block = ''
if (existing_summarize_cmt) {
inputs.raw_summary = commenter.get_raw_summary(existing_summarize_cmt.body)
existing_commit_ids_block = getReviewedCommitIdsBlock(
existing_summarize_cmt.body
)
}
const existing_commit_ids_block = getReviewedCommitIdsBlock(
existing_summarize_cmt?.body
)

const allCommitIds = await getAllCommitIds()
// find highest reviewed commit id
Expand Down