Skip to content

Commit

Permalink
Update reviewer.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
thadeucbr authored Sep 30, 2024
1 parent 8cc1694 commit 3bf5624
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/reviewer.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
name: AI Code Reviewer

name: Code Review with OpenAI
on:
pull_request:
types:
- opened
- synchronize
permissions: write-all
jobs:
review:
code_review:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
- name: Checkout repository
uses: actions/checkout@v3

- name: AI Code Reviewer
uses: thadeucbr/ai-codereviewer@main
- name: Code Review
uses: freeedcom/ai-codereviewer@main
with:
GITHUB_TOKEN: ${{ secrets.OCTOKIT_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
OPENAI_API_MODEL: "gpt-4o-mini" # Optional: defaults to "gpt-4"
exclude: "**/*.json, **/*.md" # Optional: exclude patterns separated by commas
OPENAI_API_MODEL: "gpt-4o-mini"
exclude: "yarn.lock,dist/**"

0 comments on commit 3bf5624

Please sign in to comment.