Skip to content

Commit 25451c3

Browse files
ci(release): release only if all tests passed
1 parent 1f98265 commit 25451c3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ jobs:
1414
github-release:
1515
runs-on: ubuntu-latest
1616

17+
# Workflow will run only if the trigger workflow completed with success.
18+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
19+
1720
environment:
1821
name: Staging
1922

0 commit comments

Comments
 (0)