Skip to content

Commit fb2dcca

Browse files
committed
Change condition
1 parent 330908e commit fb2dcca

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/app.yaml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
11
name: 'App Build'
22

33
on:
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

129
jobs:
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

0 commit comments

Comments
 (0)