Skip to content

Commit 03f44e6

Browse files
committed
fix: 참조 오류 해결
1 parent 8de9c7b commit 03f44e6

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/gemini_review.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,11 @@ jobs:
6666
6767
- name: Generate Git Diff for PR
6868
run: |
69-
echo "📂 PR Base: ${{ steps.pr_info.outputs.base }}"
70-
echo "📂 PR Head: ${{ steps.pr_info.outputs.head }}"
71-
72-
git fetch origin "refs/pull/${{ steps.pr_info.outputs.number }}/head":pr-head
73-
git fetch origin "refs/pull/${{ steps.pr_info.outputs.number }}/base":pr-base
74-
75-
git diff pr-base pr-head > diff.txt
69+
echo "📂 base: ${{ steps.pr_info.outputs.base }}"
70+
echo "📂 head: ${{ steps.pr_info.outputs.head }}"
71+
git fetch origin "${{ steps.pr_info.outputs.base }}"
72+
git fetch origin "${{ steps.pr_info.outputs.head }}"
73+
git diff "origin/${{ steps.pr_info.outputs.base }}"..."origin/${{ steps.pr_info.outputs.head }}" > diff.txt
7674
7775
- name: Run Gemini Review (Line-by-Line JSON)
7876
id: gemini_review

0 commit comments

Comments
 (0)