Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

[GHA] Do not trigger C++20 builds on workflow re-runs (#39822)

Mikhail Ryzhovd6bbd412444c
diff --git a/.github/workflows/ubuntu_22.yml b/.github/workflows/ubuntu_22.yml
index 57f933cc8bf..d1f273d456a 100644
--- a/.github/workflows/ubuntu_22.yml
+++ b/.github/workflows/ubuntu_22.yml
@@ -171,7 +171,7 @@ jobs:
-DENABLE_WHEEL=ON
-DCMAKE_COMPILE_WARNING_AS_ERROR=ON
- # Non-blocking C++20 compile check (CVS-189849): daily, dispatched, or re-run workflows.
+ # Non-blocking C++20 compile check (CVS-189849): daily or dispatched workflows.
# Promote to a required pre-commit check once stable.
Build_CPP20:
name: Build (C++20, non-blocking)
@@ -179,7 +179,7 @@ jobs:
if: >-
${{
!needs.smart_ci.outputs.skip_workflow &&
- (github.event.schedule == '0 2 * * *' || github.event_name == 'workflow_dispatch' || github.run_attempt > 1)
+ (github.event.schedule == '0 2 * * *' || github.event_name == 'workflow_dispatch')
}}
uses: ./.github/workflows/job_build_linux_cpp20.yml
with:
diff --git a/.github/workflows/ubuntu_24.yml b/.github/workflows/ubuntu_24.yml
index f21b1d2424c..a3c21dde429 100644
--- a/.github/workflows/ubuntu_24.yml
+++ b/.github/workflows/ubuntu_24.yml
@@ -127,7 +127,7 @@ jobs:
-DCPACK_GENERATOR=TGZ
-DCMAKE_COMPILE_WARNING_AS_ERROR=ON
- # Non-blocking C++20 compile check (CVS-189849): daily, dispatched, or re-run workflows.
+ # Non-blocking C++20 compile check (CVS-189849): daily or dispatched workflows.
# Promote to a required pre-commit check once stable.
Build_CPP20:
name: Build (C++20, non-blocking)
@@ -135,7 +135,7 @@ jobs:
if: >-
${{
!needs.smart_ci.outputs.skip_workflow &&
- (github.event.schedule == '0 2 * * *' || github.event_name == 'workflow_dispatch' || github.run_attempt > 1)
+ (github.event.schedule == '0 2 * * *' || github.event_name == 'workflow_dispatch')
}}
uses: ./.github/workflows/job_build_linux_cpp20.yml
with:
diff --git a/.github/workflows/windows_vs2022_release.yml b/.github/workflows/windows_vs2022_release.yml
index 1f11f782274..7afd2c087c5 100644
--- a/.github/workflows/windows_vs2022_release.yml
+++ b/.github/workflows/windows_vs2022_release.yml
@@ -91,7 +91,7 @@ jobs:
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON
-DFETCHCONTENT_BASE_DIR="C:\fcc\ninja_multi_config"
- # Non-blocking C++20 compile check (CVS-189849): daily, dispatched, or re-run workflows.
+ # Non-blocking C++20 compile check (CVS-189849): daily or dispatched workflows.
# Promote to a required pre-commit check once stable.
Build_CPP20:
name: Build (C++20, non-blocking)
@@ -99,7 +99,7 @@ jobs:
if: >-
${{
!needs.smart_ci.outputs.skip_workflow &&
- (github.event.schedule == '0 2 * * *' || github.event_name == 'workflow_dispatch' || github.run_attempt > 1)
+ (github.event.schedule == '0 2 * * *' || github.event_name == 'workflow_dispatch')
}}
uses: ./.github/workflows/job_build_windows_cpp20.yml
with: