Skip to content

Commit

Permalink
Checkout base.ref
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 67a3e30 commit 733298d
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,10 +32,11 @@ jobs:
REVIEWER_CONTEXT: ${{ toJSON(github.event.pull_request.requested_reviewers) }}
run: echo "$REVIEWER_CONTEXT"
- uses: actions/checkout@v3
with:
ref: ${{github.event.pull_request.base.ref}}
- run: git remote -v
- run: git log --oneline
- 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 }}
- uses: actions/setup-python@v2
Expand Down

0 comments on commit 733298d

Please sign in to comment.