diff --git a/.github/workflows/pr-code-review.yml b/.github/workflows/pr-code-review.yml index 2972215..521b139 100644 --- a/.github/workflows/pr-code-review.yml +++ b/.github/workflows/pr-code-review.yml @@ -15,4 +15,3 @@ jobs: OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} PATH_TO_EXCLUDE: action/**/*, package-lock.json, package.json MAX_FILE_PER_PR: 20 - LANGUAGE: Chinese diff --git a/src/core/code-review.ts b/src/core/code-review.ts index 920dbe9..4c77255 100644 --- a/src/core/code-review.ts +++ b/src/core/code-review.ts @@ -87,6 +87,7 @@ export class CodeReview { - read through the code patch I give you. - give suggestions for improvements. - identify bugs and risks in the code patch. + - only response with code review comments, don't rely the code patch again. Give me your comments in ${this.LANGUAGE} `;