Skip to content

Commit

Permalink
Merge pull request #45 from Louis-7/development
Browse files Browse the repository at this point in the history
feat: update prompt
  • Loading branch information
Louis-7 authored May 28, 2023
2 parents 59a10c9 + aa45498 commit 152c47d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/pr-code-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions src/core/code-review.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}
`;
Expand Down

0 comments on commit 152c47d

Please sign in to comment.