Skip to content

Commit

Permalink
ci(release): only run the workflow when "continuous integration" work…
Browse files Browse the repository at this point in the history
…flow is success
  • Loading branch information
jojoee committed Nov 7, 2022
1 parent 5ee9813 commit 8b8d3c7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
jobs:
release:
runs-on: ubuntu-latest
# https://stackoverflow.com/questions/67516571/github-action-triggered-by-success-of-a-different-action
# https://github.com/orgs/community/discussions/26238
if: ${{ github.event.workflow_run.conclusion == 'success' }}
strategy:
matrix:
node-version: [16.x]
Expand Down

0 comments on commit 8b8d3c7

Please sign in to comment.