From 3d3bb51de90e5946d2e2e65b749f3e4e646a003b Mon Sep 17 00:00:00 2001 From: Alina Kladieva Date: Wed, 20 Dec 2023 18:13:17 +0100 Subject: [PATCH] [GHA] Fix smart ci for docs changes in linux arm64 (#21798) Update linux_arm64.yml --- .github/workflows/linux_arm64.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/linux_arm64.yml b/.github/workflows/linux_arm64.yml index 2ef15b6c087..d918bffe7f5 100644 --- a/.github/workflows/linux_arm64.yml +++ b/.github/workflows/linux_arm64.yml @@ -21,6 +21,7 @@ jobs: runs-on: ubuntu-latest outputs: affected_components: "${{ steps.smart_ci.outputs.affected_components }}" + skip_workflow: "${{ steps.smart_ci.outputs.skip_workflow }}" steps: - name: checkout action uses: actions/checkout@v4 @@ -36,6 +37,8 @@ jobs: commit_sha: ${{ github.sha }} component_pattern: "category: (.*)" repo_token: ${{ secrets.GITHUB_TOKEN }} + skip_when_only_listed_labels_set: 'docs' + skip_when_only_listed_files_changed: '*.md,*.rst,*.png,*.jpg,*.svg' - name: Show affected components run: | @@ -69,7 +72,7 @@ jobs: BUILD_DIR: /__w/openvino/openvino/openvino_build SCCACHE_AZURE_KEY_PREFIX: 'ubuntu20_aarch64_Release' ONNX_RUNTIME_UTILS: /__w/openvino/openvino/openvino/.ci/azure/ci_utils/onnxruntime - if: "!fromJSON(needs.smart_ci.outputs.affected_components).docs_only" + if: "!needs.smart_ci.outputs.skip_workflow" steps: - name: Install git