Skip to content

Commit

Permalink
update gpt_review.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
thias15 authored Jun 2, 2024
1 parent 54ed1c9 commit 4bfd1ce
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/gpt_review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,14 @@ jobs:
fetch-depth: 0

- name: Run GPT Code Review
uses: mattzcarey/code-review[email protected]
uses: cirolini/genai-code-review@v2
with:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
MODEL: 'gpt-4o'
GITHUB_TOKEN: ${{ github.token }}
openai_api_key: ${{ secrets.OPENAI_API_KEY }}
github_token: ${{ secrets.GITHUB_TOKEN }}
github_pr_id: ${{ github.event.number }}
openai_model: "gpt-4o" # optional
openai_temperature: 0.5 # optional
openai_max_tokens: 2048 # optional
mode: files # files or patch
language: en # optional, default is 'en'
custom_prompt: "" # optional

0 comments on commit 4bfd1ce

Please sign in to comment.