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

Commit 6cf5176

Browse files
authored
chore: fix log (#220)
<!-- This is an auto-generated comment: release notes by openai --> ### Summary by OpenAI ## Release Notes - New Feature: Log commit ID from which the review will be done. > "A new feature has arrived, > Commit ID logging, oh my! > Code quality improved, > Bugs and errors removed, > Let's celebrate with a joyful cry!" <!-- end of auto-generated comment: release notes by openai -->
1 parent 831720d commit 6cf5176

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

dist/index.js

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/review.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,10 @@ export const codeReview = async (
9393
`Will review from the base commit: ${context.payload.pull_request.base.sha}`
9494
)
9595
highest_reviewed_commit_id = context.payload.pull_request.base.sha
96+
} else {
97+
core.info(`Will review from commit: ${highest_reviewed_commit_id}`)
9698
}
9799

98-
core.info(`Will review from commit: ${highest_reviewed_commit_id}`)
99100
// get the list of files changed between the highest reviewed commit
100101
// and the latest (head) commit
101102
// use octokit.pulls.compareCommits to get the list of files changed

0 commit comments

Comments
 (0)