Skip to content

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

[GHA] Build clang-tidy only if files under checks are changed (#31613)

Arseniy Obolenskiya4c9840ab2e4
diff --git a/.github/workflows/clang_tidy.yml b/.github/workflows/clang_tidy.yml
index 24725564ad6..30a806f302d 100644
--- a/.github/workflows/clang_tidy.yml
+++ b/.github/workflows/clang_tidy.yml
@@ -113,7 +113,7 @@ jobs:
Build:
needs: [Docker, Smart_CI]
- if: "!needs.smart_ci.outputs.skip_workflow"
+ if: fromJSON(needs.smart_ci.outputs.affected_components).CPU && !needs.smart_ci.outputs.skip_workflow
timeout-minutes: 150
defaults:
run:
@@ -180,7 +180,7 @@ jobs:
Build-aarch64:
needs: [Docker_Arm, Smart_CI]
- if: "!needs.smart_ci.outputs.skip_workflow"
+ if: fromJSON(needs.smart_ci.outputs.affected_components).CPU && !needs.smart_ci.outputs.skip_workflow
timeout-minutes: 150
defaults:
run:
@@ -249,7 +249,7 @@ jobs:
Build-riscv64:
needs: [Docker, Smart_CI]
- if: "!needs.smart_ci.outputs.skip_workflow"
+ if: fromJSON(needs.smart_ci.outputs.affected_components).CPU && !needs.smart_ci.outputs.skip_workflow
timeout-minutes: 150
defaults:
run: