Skip to content

Commit

Permalink
Fix fetch PR
Browse files Browse the repository at this point in the history
Signed-off-by: Michael D Kinney <[email protected]>
  • Loading branch information
mdkinney committed Jul 14, 2022
1 parent 6bc7f91 commit ab43d28
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/AssignReviewers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ jobs:
REVIEWER_CONTEXT: ${{ toJSON(github.event.pull_request.requested_reviewers) }}
run: echo "$REVIEWER_CONTEXT"
- uses: actions/checkout@v3
- run: git fetch +refs/pull/${{ github.event.pull_request.number }}/*:refs/remotes/origin/pr/${{ github.event.pull_request.number }}/* --depth ${{ github.event.pull_request.commits }}
- run: git remote -v
- run: git fetch origin +refs/pull/${{ github.event.pull_request.number }}/*:refs/remotes/origin/pr/${{ github.event.pull_request.number }}/* --depth ${{ github.event.pull_request.commits }}
- run: git log --oneline ${{ github.event.pull_request.base.sha }}
- run: git log --oneline ${{ github.event.pull_request.head.sha }}
- run: git diff --name-only ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }}
Expand Down

0 comments on commit ab43d28

Please sign in to comment.