diff --git a/.github/workflows/AssignReviewers.yml b/.github/workflows/AssignReviewers.yml index aece919..793ab9e 100644 --- a/.github/workflows/AssignReviewers.yml +++ b/.github/workflows/AssignReviewers.yml @@ -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