mirror of
https://github.com/freeedcom/ai-codereviewer.git
synced 2025-10-04 05:51:44 +00:00
add ai review prompt example
This commit is contained in:
parent
d8bdc86e4f
commit
3fa884c562
6 changed files with 31 additions and 10 deletions
5
.github/workflows/code_review.yml
vendored
5
.github/workflows/code_review.yml
vendored
|
@ -12,9 +12,10 @@ jobs:
|
|||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
- name: Code Review
|
||||
uses: freeedcom/ai-codereviewer@main
|
||||
uses: smartconfigai/ai-codereviewer@main
|
||||
with:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
||||
OPENAI_API_MODEL: "gpt-4-1106-preview"
|
||||
OPENAI_API_MODEL: "gpt-4o-2024-08-06"
|
||||
system_prompt_path: ".github/ai-review-prompt.txt"
|
||||
exclude: "yarn.lock,dist/**"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue