File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 1111jobs :
1212 publish :
1313 runs-on : ubuntu-latest
14+ # Require tests to pass before publish
15+ # https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows#running-a-workflow-based-on-the-conclusion-of-another-workflow
16+ if : ${{ github.event.workflow_run.conclusion == 'success' }}
1417 steps :
1518 - name : Checkout
1619 uses : actions/checkout@v4
Original file line number Diff line number Diff line change 1010jobs :
1111 build :
1212 runs-on : ubuntu-latest
13+ # Require tests to pass before release
14+ # https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows#running-a-workflow-based-on-the-conclusion-of-another-workflow
15+ if : ${{ github.event.workflow_run.conclusion == 'success' }}
1316 steps :
1417 - name : Checkout
1518 uses : actions/checkout@v4
You can’t perform that action at this time.
0 commit comments