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 47db300 commit dcfaa2aCopy full SHA for dcfaa2a
.github/workflows/gemini-pr-review.yml
@@ -11,6 +11,8 @@ jobs:
11
steps:
12
- name: Checkout code
13
uses: actions/checkout@v3
14
+ with:
15
+ fetch-depth: 0
16
17
- name: Set up Python
18
uses: actions/setup-python@v4
@@ -26,7 +28,7 @@ jobs:
26
28
id: get_diff
27
29
run: |
30
echo "DIFF<<EOF" >> $GITHUB_OUTPUT
- git diff origin/${GITHUB_BASE_REF}..${GITHUB_HEAD_REF} >> $GITHUB_OUTPUT
31
+ git diff origin/${GITHUB_BASE_REF}...origin/${GITHUB_HEAD_REF} >> $GITHUB_OUTPUT
32
echo "EOF" >> $GITHUB_OUTPUT
33
34
- name: Gemini API Call
0 commit comments