File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed
Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change 11name : ' App Build'
22
33on :
4- pull_request :
5- push :
6- workflow_dispatch :
7- # workflow_run:
8- # workflows: ['CI'] # This is the name of the other workflow
9- # types:
10- # - completed
4+ workflow_run :
5+ workflows : ['CI'] # This is the name of the other workflow
6+ types :
7+ - completed
118
129jobs :
1310 build :
1411 # Run only only the default branch and when the CI build was successful
1512 # if: ${{ github.ref_name == github.event.repository.default_branch && github.event.workflow_run.conclusion == 'success' }}
16- # if: ${{ github.event.workflow_run.conclusion == 'success' }}
13+ if : ${{ github.ref_name == 'app-build' && github.event.workflow_run.conclusion == 'success' }}
1714 runs-on : ubuntu-latest
1815 steps :
1916 - name : Checkout
You can’t perform that action at this time.
0 commit comments