Skip to content

Commit 35315fd

Browse files
committed
Update Gemini PR review workflow to use ubuntu-latest and add GCP authentication
1 parent b2217f2 commit 35315fd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/gemini-pr-review.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
gemini_review:
9-
runs-on: arc-runner-set
9+
runs-on: ubuntu-latest
1010

1111
steps:
1212
- name: Checkout code
@@ -22,6 +22,11 @@ jobs:
2222
- name: Install dependencies
2323
run: pip install google-generativeai requests PyGithub google-cloud-storage
2424

25+
- name: Authenticate to Google Cloud
26+
uses: google-github-actions/auth@v1
27+
with:
28+
credentials_json: ${{ secrets.GCP_SERVICE_ACCOUNT_KEY }}
29+
2530
- name: Run Gemini review script
2631
env:
2732
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}

0 commit comments

Comments
 (0)