Skip to content

Commit d309525

Browse files
authored
ci: Fix container build on scheduled main branch run (#165)
Signed-off-by: Charlie Truong <[email protected]>
1 parent da1fea2 commit d309525

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/cicd-main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ jobs:
4646
runs-on: ubuntu-latest
4747
environment: test
4848
if: |
49-
needs.pre-flight.outputs.is_ci_workload == 'false'
50-
&& needs.pre-flight.outputs.docs_only == 'false'
49+
!(needs.pre-flight.outputs.is_ci_workload == 'true'
50+
|| needs.pre-flight.outputs.is_deployment_workflow == 'true'
51+
|| needs.pre-flight.outputs.docs_only == 'true')
5152
steps:
5253
- name: Running CI tests
5354
run: |
@@ -62,7 +63,6 @@ jobs:
6263
|| needs.pre-flight.outputs.is_ci_workload == 'true'
6364
|| needs.pre-flight.outputs.force_run_all == 'true'
6465
)
65-
&& needs.pre-flight.outputs.docs_only == 'false'
6666
&& !cancelled()
6767
with:
6868
image-name: emerging_optimizers

0 commit comments

Comments
 (0)