Skip to content

Commit c024f09

Browse files
committed
fix npm publish
1 parent 42b46e8 commit c024f09

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
name: Releases
22
on:
3-
pull_request_target:
3+
push:
44
branches:
55
- main
6-
types:
7-
- closed
86

97
jobs:
108
merged-pr:
11-
if: github.event.pull_request.merged == true && !contains(github.event.pull_request.title, '[skip ci]')
9+
if: |
10+
github.ref == 'refs/heads/main' &&
11+
!contains(github.actor, 'bot') &&
12+
!contains(github.event.head_commit.message, '[skip ci]')
13+
1214
runs-on: ubuntu-latest
1315
permissions:
1416
id-token: write

0 commit comments

Comments
 (0)