diff --git a/.github/workflows/ai-pull-request.yml b/.github/workflows/ai-pull-request.yml new file mode 100644 index 0000000..b5b7a54 --- /dev/null +++ b/.github/workflows/ai-pull-request.yml @@ -0,0 +1,20 @@ +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: freeedcom/ai-codereviewer@v2.6.0 + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} \ No newline at end of file