diff --git a/.github/workflows/build-check-install.yaml b/.github/workflows/build-check-install.yaml index 4430bd4c..b21e7f88 100644 --- a/.github/workflows/build-check-install.yaml +++ b/.github/workflows/build-check-install.yaml @@ -309,6 +309,7 @@ jobs: uses: actions/checkout@v4.1.1 if: github.event_name == 'pull_request' with: + ref: ${{ steps.branch-name.outputs.head_ref_branch }} path: ${{ github.event.repository.name }} repository: ${{ github.event.pull_request.head.repo.full_name }} fetch-depth: 0