diff --git a/.github/workflows/audo-code-review.yml b/.github/workflows/audo-code-review.yml new file mode 100644 index 00000000..6334c610 --- /dev/null +++ b/.github/workflows/audo-code-review.yml @@ -0,0 +1,21 @@ +name: AI Code Reviewer + +on: + pull_request: + types: + - opened + - synchronize +permissions: write-all +jobs: + review: + runs-on: ubuntu-latest + steps: + - name: Checkout Repo + uses: actions/checkout@v3 + + - name: AI Code Reviewer + uses: maciejmajek/ai-codereviewer@main + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} + OPENAI_API_MODEL: "gpt-4o"