Skip to content

Commit 1187e0c

Browse files
authored
ci: execute release only if test passes (#227)
1 parent 9d0297b commit 1187e0c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,15 @@ on:
77
- next
88
- rc
99
- next-rc-1
10+
workflow_run:
11+
workflows: ['CI']
12+
types:
13+
- completed
1014
workflow_dispatch:
1115

1216
jobs:
1317
release:
18+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1419
name: Release / Node ${{ matrix.node }}
1520
strategy:
1621
matrix:

0 commit comments

Comments
 (0)