We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6447532 commit 256c196Copy full SHA for 256c196
.github/workflows/code-review.yml
@@ -0,0 +1,21 @@
1
+name: Gemini Code Review
2
+
3
+on:
4
+ pull_request_target:
5
+ types: [opened, synchronize] # Only run on pull requests that are opened or updated
6
7
+jobs:
8
+ review:
9
+ runs-on: ubuntu-latest
10
+ permissions:
11
+ contents: read
12
+ pull-requests: write
13
+ id-token: write
14
+ steps:
15
+ - name: Checkout pull request branch
16
+ uses: actions/checkout@v4
17
+ with:
18
+ ref: ${{ github.event.pull_request.head.sha }} # Use the head SHA of the pull request
19
+ - uses: sshnaidm/gemini-code-review-action@v1
20
21
+ gemini-key: ${{ secrets.GEMINI_API_KEY }}
0 commit comments