diff --git a/.github/workflows/ai-code-review.yml b/.github/workflows/ai-code-review.yml new file mode 100644 index 0000000..fc0d71b --- /dev/null +++ b/.github/workflows/ai-code-review.yml @@ -0,0 +1,24 @@ +name: AI Code Review + +on: + pull_request: + types: [opened, synchronize, reopened] + +jobs: + review: + runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: write + issues: write + + steps: + - name: Run AI Code Review + uses: Daltonganger/AI-Code-Review@v1.4.2 + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + AI_PROVIDER: 'codex' + CODEX_API_KEY: ${{ secrets.CODEX_API_KEY }} + CODEX_API_MODEL: 'gpt-5.4' + CODEX_API_BASE_URL: 'https://codex.2631.eu/v1' + REVIEW_LANGUAGE: 'en'