Skip to content

Commit 33e43d8

Browse files
committed
chore(ci): only run release job on pushes, not PRs
1 parent b04ddc3 commit 33e43d8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/nodejs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ jobs:
6767
env:
6868
CI: true
6969
release:
70+
if:
71+
# prettier-ignore
72+
${{ github.event_name == 'push' && (github.event.ref == 'refs/heads/main' || github.event.ref == 'refs/heads/next') }}
7073
needs:
7174
- test-node
7275
- test-os

0 commit comments

Comments
 (0)