File tree Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -525,19 +525,7 @@ jobs:
525525 timeout-minutes : 5
526526 steps :
527527 - name : Report failure
528- if : >-
529- ${{
530- (needs.action-lint.result != 'success' && needs.action-lint.result != 'skipped')
531- || (needs.bazel-lint.result != 'success' && needs.bazel-lint.result != 'skipped')
532- || (needs.docker-lint.result != 'success' && needs.docker-lint.result != 'skipped')
533- || (needs.docker-tests.result != 'success' && needs.docker-tests.result != 'skipped')
534- || (needs.library-tests.result != 'success' && needs.library-tests.result != 'skipped')
535- || (needs.memory-tests.result != 'success' && needs.memory-tests.result != 'skipped')
536- || (needs.options-tests.result != 'success' && needs.options-tests.result != 'skipped')
537- || (needs.python-checks.result != 'success' && needs.python-checks.result != 'skipped')
538- || (needs.shell-lint.result != 'success' && needs.shell-lint.result != 'skipped')
539- || (needs.yaml-lint.result != 'success' && needs.yaml-lint.result != 'skipped')
540- }}
528+ if : contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
541529 run : |
542530 echo ":x: One or more CI jobs failed."
543531 exit 1
You can’t perform that action at this time.
0 commit comments