Skip to content

Commit d57c65b

Browse files
authored
Update gemini-pr-review.yml
1 parent ecf7c64 commit d57c65b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,8 @@ jobs:
2525
- name: Get PR diff
2626
id: diff
2727
run: |
28-
echo "DIFF<<EOF" >> $GITHUB_OUTPUT
29-
git diff origin/${{ github.event.pull_request.base.ref }} ${{ github.sha }} >> $GITHUB_OUTPUT
30-
echo "EOF" >> $GITHUB_OUTPUT
28+
gh pr diff ${{ github.event.pull_request.number }} > diff.txt
29+
echo "DIFF=$(cat diff.txt)" >> $GITHUB_OUTPUT
3130
3231
- name: Debug diff output
3332
run: echo "${{ steps.diff.outputs.DIFF }}"

0 commit comments

Comments
 (0)