mirror of
https://github.com/freeedcom/ai-codereviewer.git
synced 2025-06-29 12:24:16 +00:00
Merge branch 'dev' into update-readme-and-workflow
This commit is contained in:
commit
74d6b7b9e5
5 changed files with 1338 additions and 1313 deletions
7
.github/workflows/code_review.yml
vendored
7
.github/workflows/code_review.yml
vendored
|
@ -9,18 +9,19 @@ permissions: write-all
|
|||
jobs:
|
||||
if: '! github.event.pull_request.draft'
|
||||
code_review:
|
||||
if: '! github.event.pull_request.draft'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
- name: Code Review
|
||||
uses: freeedcom/ai-codereviewer@main
|
||||
uses: lukehollenback/ai-codereviewer@main-luke
|
||||
with:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
||||
OPENAI_API_MODEL: "gpt-4-turbo-preview"
|
||||
OPENAI_API_MODEL: "gpt-3.5-turbo"
|
||||
exclude: "yarn.lock, dist/**, **/*.json, **/*.md, **/*.yaml, **/*.xml"
|
||||
custom_prompts: |
|
||||
Do not worry about the verbosity of variable names, as long as they are somewhat descriptive.
|
||||
Be sure to call out potential null pointer exceptions.
|
||||
Be sure to call out concurrency issues and potential race conditions.
|
||||
Do not worry about things a static analyzer would catch in real-time during development.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue