diff --git a/.github/workflows/node.js.yaml b/.github/workflows/node.js.yaml index 84f6a41..e3546a5 100644 --- a/.github/workflows/node.js.yaml +++ b/.github/workflows/node.js.yaml @@ -71,7 +71,7 @@ jobs: steps: - uses: actions/checkout@v6 with: - ref: ${{ github.ref }} + ref: ${{ github.head_ref || github.ref }} - uses: pnpm/action-setup@v4 with: version: latest