diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2404d26a8..f5c2627ac 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -174,7 +174,8 @@ jobs: env: JOBS_JSON: ${{ toJSON(needs) }} RESULTS_JSON: ${{ toJSON(needs.*.result) }} - EXIT_CODE: ${{!contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled') && needs.set-ci-condition.outputs.should-run-ci == 'true' && '0' || '1'}} + EXIT_CODE: ${{ needs.set-ci-condition.outputs.should-run-ci == 'false' && '0' || (!contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled') && '0' || '1') }} + steps: - name: "CI Success" run: |