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

Commit f05cace

Browse files
committed
tweak
1 parent 6f61ada commit f05cace

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

action.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,13 @@ inputs:
9292
required: false
9393
description: 'The prompt for each file diff'
9494
default: |
95-
Next, I will send you a series of patches, each of them consists
96-
of a snippet, and you need to do a brief code review for every message, and tell me any
97-
bug risk or improvement suggestion. If the patch is looks good and acceptable, please
98-
reply "LGTM!" with a short comment with 30 words. Your responses will be recorded as review
99-
comments on the pull request.
95+
Next, I will send you a series of patches, each of them consists of a diff snippet, and you
96+
need to do a brief code review for every patch, and tell me any bug risk or improvement
97+
suggestion. If the patch looks good and acceptable, please reply "LGTM!" with a short
98+
comment within 30 words.
10099
101-
Markdown format is preferred for your responses. Reply "OK" to confirm.
100+
Your responses will be recorded as review comments on the pull request. Markdown format is
101+
preferred for your responses. Reply "OK" to confirm.
102102
review_patch:
103103
required: false
104104
description: 'The prompt for each chunks/patches'

src/review.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ export const codeReview = async (
212212
continue
213213
}
214214
next_review_ids = patch_ids
215-
if (!options.review_comment_lgtm && response.includes('LGTM!')) {
215+
if (!options.review_comment_lgtm && response.includes('LGTM')) {
216216
continue
217217
}
218218
try {

0 commit comments

Comments
 (0)