Skip to content

Commit 5305e3b

Browse files
committed
chore: skip publish on PR
Signed-off-by: Ruben Romero Montes <rromerom@redhat.com>
1 parent ab5487a commit 5305e3b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ jobs:
2222
publish-ea:
2323
if: |
2424
github.event_name == 'workflow_run' &&
25-
github.event.workflow_run.head_branch == 'main'
25+
github.event.workflow_run.head_branch == 'main' &&
26+
github.event.workflow_run.event == 'push'
2627
runs-on: ubuntu-latest
2728
name: Publish EA release to NPM
2829
steps:

0 commit comments

Comments
 (0)