Skip to content

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

[CI] [GHA] Add missing skip for the build jobs if their pipeline should be skipped (#30398)

Andrei Kashchikhin1a9d8203810c
diff --git a/.github/workflows/android_arm64.yml b/.github/workflows/android_arm64.yml
index 758926a1cc6..63e0815812d 100644
--- a/.github/workflows/android_arm64.yml
+++ b/.github/workflows/android_arm64.yml
@@ -74,6 +74,7 @@ jobs:
Build:
needs: [Smart_CI, Docker]
+ if: "!needs.smart_ci.outputs.skip_workflow"
timeout-minutes: 150
defaults:
run:
diff --git a/.github/workflows/android_x64.yml b/.github/workflows/android_x64.yml
index 844c51484d8..5982990f0cd 100644
--- a/.github/workflows/android_x64.yml
+++ b/.github/workflows/android_x64.yml
@@ -77,6 +77,7 @@ jobs:
Build:
needs: [Smart_CI, Docker]
+ if: "!needs.smart_ci.outputs.skip_workflow"
timeout-minutes: 150
defaults:
run:
diff --git a/.github/workflows/fedora_29.yml b/.github/workflows/fedora_29.yml
index 801c4a48a35..70b0dea565a 100644
--- a/.github/workflows/fedora_29.yml
+++ b/.github/workflows/fedora_29.yml
@@ -80,6 +80,7 @@ jobs:
Build:
needs: [Docker, Smart_CI]
+ if: "!needs.smart_ci.outputs.skip_workflow"
uses: ./.github/workflows/job_build_linux.yml
with:
runner: 'aks-linux-16-cores-32gb'
diff --git a/.github/workflows/linux_arm64.yml b/.github/workflows/linux_arm64.yml
index a41d468a55e..241e4b73428 100644
--- a/.github/workflows/linux_arm64.yml
+++ b/.github/workflows/linux_arm64.yml
@@ -84,6 +84,7 @@ jobs:
Build:
needs: [ Docker, Smart_CI ]
+ if: "!needs.smart_ci.outputs.skip_workflow"
uses: ./.github/workflows/job_build_linux.yml
with:
runner: 'aks-linux-16-cores-32gb-arm'
diff --git a/.github/workflows/linux_conditional_compilation.yml b/.github/workflows/linux_conditional_compilation.yml
index e885b9a95cd..8a2c254e2e6 100644
--- a/.github/workflows/linux_conditional_compilation.yml
+++ b/.github/workflows/linux_conditional_compilation.yml
@@ -85,6 +85,7 @@ jobs:
Build:
needs: [Docker, Smart_CI]
+ if: "!needs.smart_ci.outputs.skip_workflow"
timeout-minutes: 150
defaults:
run:
diff --git a/.github/workflows/linux_riscv.yml b/.github/workflows/linux_riscv.yml
index 3a483cb1362..2f499386592 100644
--- a/.github/workflows/linux_riscv.yml
+++ b/.github/workflows/linux_riscv.yml
@@ -84,6 +84,7 @@ jobs:
Build:
needs: [Smart_CI, Docker]
+ if: ${{ github.event_name != 'merge_group' && needs.Smart_CI.outputs.skip_workflow != 'True' }}
timeout-minutes: 150
defaults:
run:
@@ -106,8 +107,6 @@ jobs:
CCACHE_DIR: /__w/openvino/openvino/ccache
CCACHE_TEMPDIR: /__w/openvino/openvino/ccache_temp
CCACHE_MAXSIZE: 2G
-
- if: ${{ github.event_name != 'merge_group' }}
steps:
- name: Clone OpenVINO
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
diff --git a/.github/workflows/manylinux_2014.yml b/.github/workflows/manylinux_2014.yml
index fa6c85d6626..5efa3624526 100644
--- a/.github/workflows/manylinux_2014.yml
+++ b/.github/workflows/manylinux_2014.yml
@@ -87,13 +87,13 @@ jobs:
changed_components: ${{ needs.smart_ci.outputs.changed_components }}
Build:
- needs: [Docker]
+ needs: [Docker, Smart_CI]
+ if: "!needs.smart_ci.outputs.skip_workflow"
timeout-minutes: 120
defaults:
run:
shell: bash
runs-on: aks-linux-16-cores-32gb-manylinux
- if: ${{ github.repository_owner == 'openvinotoolkit' }}
container:
image: ${{ fromJSON(needs.docker.outputs.images).ov_build.ubuntu_22_04_x64_docker }}
volumes:
diff --git a/.github/workflows/ubuntu_20.yml b/.github/workflows/ubuntu_20.yml
index 25b0d91ed9e..9ed84f170b6 100644
--- a/.github/workflows/ubuntu_20.yml
+++ b/.github/workflows/ubuntu_20.yml
@@ -86,6 +86,7 @@ jobs:
Build:
needs: [Docker, Smart_CI]
+ if: "!needs.smart_ci.outputs.skip_workflow"
uses: ./.github/workflows/job_build_linux.yml
with:
runner: 'aks-linux-16-cores-32gb'
diff --git a/.github/workflows/ubuntu_22.yml b/.github/workflows/ubuntu_22.yml
index 85040bd44b7..d11d86993fa 100644
--- a/.github/workflows/ubuntu_22.yml
+++ b/.github/workflows/ubuntu_22.yml
@@ -89,6 +89,7 @@ jobs:
Build:
needs: [Docker, Smart_CI]
+ if: "!needs.smart_ci.outputs.skip_workflow"
uses: ./.github/workflows/job_build_linux.yml
with:
runner: 'aks-linux-16-cores-32gb'
diff --git a/.github/workflows/ubuntu_22_dpcpp.yml b/.github/workflows/ubuntu_22_dpcpp.yml
index 158fe078e74..a9df06def0f 100644
--- a/.github/workflows/ubuntu_22_dpcpp.yml
+++ b/.github/workflows/ubuntu_22_dpcpp.yml
@@ -75,6 +75,7 @@ jobs:
Build:
needs: [Docker, Smart_CI]
+ if: "!needs.smart_ci.outputs.skip_workflow"
uses: ./.github/workflows/job_build_linux.yml
with:
runner: 'aks-linux-16-cores-32gb'
diff --git a/.github/workflows/ubuntu_24.yml b/.github/workflows/ubuntu_24.yml
index 075db939a0e..b47ae356bc6 100644
--- a/.github/workflows/ubuntu_24.yml
+++ b/.github/workflows/ubuntu_24.yml
@@ -83,6 +83,7 @@ jobs:
Build:
needs: [Docker, Smart_CI]
+ if: "!needs.smart_ci.outputs.skip_workflow"
uses: ./.github/workflows/job_build_linux.yml
with:
runner: 'aks-linux-16-cores-32gb'
diff --git a/.github/workflows/webassembly.yml b/.github/workflows/webassembly.yml
index e483e950050..b30f8d0c887 100644
--- a/.github/workflows/webassembly.yml
+++ b/.github/workflows/webassembly.yml
@@ -79,6 +79,7 @@ jobs:
Build:
needs: [Docker, Smart_CI]
+ if: "!needs.smart_ci.outputs.skip_workflow"
defaults:
run:
shell: bash