diff --git a/.github/workflows/ai_reviewer.yml b/.github/workflows/ai_reviewer.yml new file mode 100644 index 000000000..e329de61f --- /dev/null +++ b/.github/workflows/ai_reviewer.yml @@ -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 }} + +