diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 25f9af4..e423935 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,7 +13,9 @@ jobs: runs-on: ${{ matrix.platform }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 + with: + ref: ${{ github.event.pull_request.head.sha }} - name: setup node uses: actions/setup-node@v1 with: