Skip to content

Commit

Permalink
create ai_reviewer workflow (#415)
Browse files Browse the repository at this point in the history
* add ai_reviewer.yml
  • Loading branch information
thias15 authored Jun 1, 2024
1 parent 7fd9e8f commit fbc2550
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ai_reviewer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Code Review GPT

on:
pull_request:
types:
- opened
- synchronize
branches: [master]

jobs:
run_code_review:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Code Review GPT
uses: mattzcarey/code-review-gpt@v0.1.8
with:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
MODEL: 'gpt-4o'
GITHUB_TOKEN: ${{ github.token }}


0 comments on commit fbc2550

Please sign in to comment.