Skip to content

Commit c6de3d6

Browse files
committed
Update GitHub Actions workflow to use arc-runner-set and add gcloud CLI setup
1 parent 0d7ac2b commit c6de3d6

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

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

Lines changed: 9 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: ubuntu-latest
9+
runs-on: arc-runner-set
1010

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

25+
- name: Install gcloud CLI
26+
uses: google-github-actions/setup-gcloud@v2
27+
28+
- name: List files using curl
29+
run: |
30+
curl -X GET -H "Authorization: Bearer $(gcloud auth application-default print-access-token)" \
31+
"https://storage.googleapis.com/storage/v1/b/hackathon-sme-code-review-train/o"
32+
2533
- name: Run Gemini review script
2634
env:
2735
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}

0 commit comments

Comments
 (0)