Skip to content

Commit 6f23623

Browse files
committed
ref_name not needed on pull_request
1 parent 90dc2bd commit 6f23623

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
publish:
2121
needs: dry-run
22-
if: github.event.pull_request.merged == true && (github.ref_name == 'main' || github.head_ref == 'main')
22+
if: github.event.pull_request.merged == true && github.head_ref == 'main'
2323
runs-on: ubuntu-latest
2424
steps:
2525
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)