fix: change inputs to env vars and secure API key

This commit is contained in:
2026-05-21 15:32:43 +02:00
parent 05210c0648
commit 5d8832adf8
+3 -3
View File
@@ -18,8 +18,8 @@ jobs:
- name: Gemini AI Review - name: Gemini AI Review
uses: petarzarkov/gemini-code-review-action@latest # Using latest version tag uses: petarzarkov/gemini-code-review-action@latest # Using latest version tag
with: env:
gemini_api_key: ${{ secrets.GEMINI_API_KEY }} GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
github_token: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# You can add custom prompt instructions here if needed: # You can add custom prompt instructions here if needed:
# prompt: "You are a senior software engineer. Review this PR..." # prompt: "You are a senior software engineer. Review this PR..."