From 406b7c85e20c2c357cdb842a1216e97ddf733f94 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 27 Mar 2026 16:29:01 +0100 Subject: [PATCH] chore: add AI code review workflow --- .github/workflows/ai-code-review.yml | 29 ++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/ai-code-review.yml diff --git a/.github/workflows/ai-code-review.yml b/.github/workflows/ai-code-review.yml new file mode 100644 index 0000000..5bd9303 --- /dev/null +++ b/.github/workflows/ai-code-review.yml @@ -0,0 +1,29 @@ +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: Checkout repository + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Run AI Code Review + uses: Daltonganger/AI-Code-Review@v1.4.4 + 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'