diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 6efdd0e9..243a26f7 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -19,7 +19,7 @@ jobs: publish: needs: dry-run - if: github.event.pull_request.merged == true && github.head_ref == 'main' + if: github.event.pull_request.merged == true && github.ref == 'refs/heads/main' runs-on: ubuntu-latest steps: - uses: actions/checkout@v4