diff --git a/.github/workflows/lint-and-format.yaml b/.github/workflows/lint-and-format.yaml index d9904b0e0..8b63fe0fc 100644 --- a/.github/workflows/lint-and-format.yaml +++ b/.github/workflows/lint-and-format.yaml @@ -15,9 +15,7 @@ jobs: - name: Checkout PR uses: actions/checkout@v5 with: - token: ${{ secrets.GITHUB_TOKEN }} - ref: ${{ github.event.pull_request.head.ref }} - fetch-depth: 0 + ref: ${{ github.head_ref }} - name: Install pnpm uses: pnpm/action-setup@v4