From 19c0428419deeb5e94cf5cbde48a30180511f32e Mon Sep 17 00:00:00 2001 From: LordSchmackes Date: Thu, 21 May 2026 15:24:58 +0200 Subject: [PATCH] ci: add gemini ai pr review action --- .github/workflows/gemini-pr-review.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/gemini-pr-review.yml diff --git a/.github/workflows/gemini-pr-review.yml b/.github/workflows/gemini-pr-review.yml new file mode 100644 index 0000000..6ba0192 --- /dev/null +++ b/.github/workflows/gemini-pr-review.yml @@ -0,0 +1,25 @@ +name: "Gemini AI PR Review" + +on: + pull_request: + types: [opened, synchronize, reopened] + +permissions: + pull-requests: write + contents: read + +jobs: + review: + name: "Code Review" + runs-on: ubuntu-latest + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + + - name: Gemini AI Review + uses: petarzarkov/gemini-code-review-action@v1.4.1 # Using a stable version tag + with: + gemini_api_key: ${{ secrets.GEMINI_API_KEY }} + github_token: ${{ secrets.GITHUB_TOKEN }} + # You can add custom prompt instructions here if needed: + # prompt: "You are a senior software engineer. Review this PR..."