diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml index 55781ea2cc..944738a0db 100644 --- a/.github/workflows/pr-check.yml +++ b/.github/workflows/pr-check.yml @@ -35,7 +35,7 @@ jobs: - uses: actions/checkout@v4 if: env.UNRELATED_LABEL != 'true' with: - ref: ${{ github.event.pull_request.base.sha }} + ref: ${{ github.sha }} sparse-checkout: scripts/pr_check.py sparse-checkout-cone-mode: false - name: Check the description and files