Update git fetch command to use pull request number
This commit is contained in:
parent
2c722e61b5
commit
2e918bea9f
1 changed files with 1 additions and 1 deletions
2
.github/workflows/ai-gdd-review.yml
vendored
2
.github/workflows/ai-gdd-review.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue