diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1b7ab9a1..ac7aca80 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -53,7 +53,7 @@ jobs: steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd with: - ref: ${{ github.event.pull_request.head.sha || github.ref }} + ref: ${{ github.head_ref || github.ref }} repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }} fetch-depth: 1