Skip to content

Commit b2d97fc

Browse files
committed
fix: update workflows
1 parent 50a091a commit b2d97fc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Release
22
on:
3-
push:
3+
workflow_run:
4+
workflows: ["CI"]
5+
types:
6+
- completed
47
branches: [ main ]
58

69
permissions:
@@ -11,6 +14,7 @@ permissions:
1114

1215
jobs:
1316
release:
17+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1418
runs-on: ubuntu-latest
1519
steps:
1620
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)