[GHA] Alternative way to handle required pipeline checks (#21164)

This commit is contained in:
Alina Kladieva 2023-11-20 11:14:58 +01:00 committed by GitHub
parent bb773137f1
commit 7931938ea4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1569,3 +1569,18 @@ jobs:
- name: Show ccache stats
run: ${SCCACHE_PATH} --show-stats
Overall_Status:
name: ci/gha_linux
needs: [Smart_CI, Build, Debian_Packages, Samples, Conformance, ONNX_Runtime, CXX_Unit_Tests, Python_Unit_Tests,
CPU_Functional_Tests, TensorFlow_Hub_Models_Tests, PyTorch_Models_Tests, NVIDIA_Plugin]
if: ${{ always() }}
runs-on: ubuntu-latest
steps:
- name: Check status of all jobs
if: >-
${{
contains(needs.*.result, 'failure') ||
contains(needs.*.result, 'cancelled')
}}
run: exit 1