From 5d8832adf852186a38e0c18eb6c9839675d108d1 Mon Sep 17 00:00:00 2001 From: LordSchmackes Date: Thu, 21 May 2026 15:32:43 +0200 Subject: [PATCH] fix: change inputs to env vars and secure API key --- .github/workflows/gemini-pr-review.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/gemini-pr-review.yml b/.github/workflows/gemini-pr-review.yml index 12bbef5..f07002d 100644 --- a/.github/workflows/gemini-pr-review.yml +++ b/.github/workflows/gemini-pr-review.yml @@ -18,8 +18,8 @@ jobs: - name: Gemini AI Review uses: petarzarkov/gemini-code-review-action@latest # Using latest version tag - with: - gemini_api_key: ${{ secrets.GEMINI_API_KEY }} - github_token: ${{ secrets.GITHUB_TOKEN }} + env: + 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..."