diff --git a/.github/workflows/ai-gdd-review.yml b/.github/workflows/ai-gdd-review.yml index 14917334dd..aa2be71903 100644 --- a/.github/workflows/ai-gdd-review.yml +++ b/.github/workflows/ai-gdd-review.yml @@ -17,7 +17,7 @@ jobs: - name: Get diff run: | - git fetch origin ${{ github.event.pull_request.head.ref }}:pr_branch + git fetch origin pull/${{ github.event.pull_request.number }}/head:pr_branch git diff ${{ github.event.pull_request.base.sha }} pr_branch > diff.txt - name: Save PR metadata