Skip to content

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

[GHA] Smart CI rules for builds for GPU/NPU-only changes (#34618)

Alina Kladieva193f28008665
diff --git a/.github/workflows/debian_10_arm.yml b/.github/workflows/debian_10_arm.yml
index 8f15a759148..cf145d4c0de 100644
--- a/.github/workflows/debian_10_arm.yml
+++ b/.github/workflows/debian_10_arm.yml
@@ -50,7 +50,7 @@ jobs:
ref_name: ${{ github.ref_name }}
component_pattern: "category: (.*)"
repo_token: ${{ secrets.GITHUB_TOKEN }}
- skip_when_only_listed_labels_set: 'docs'
+ skip_when_only_listed_labels_set: 'docs,GPU,NPU'
skip_when_only_listed_files_changed: '*.md,*.rst,*.png,*.jpg,*.svg,*/layer_tests_summary/*,*/conformance/*'
- name: Show affected components
diff --git a/.github/workflows/fedora_29.yml b/.github/workflows/fedora_29.yml
index 9ed0d015f0c..3e63d009fb2 100644
--- a/.github/workflows/fedora_29.yml
+++ b/.github/workflows/fedora_29.yml
@@ -50,7 +50,7 @@ jobs:
ref_name: ${{ github.ref_name }}
component_pattern: "category: (.*)"
repo_token: ${{ secrets.GITHUB_TOKEN }}
- skip_when_only_listed_labels_set: 'docs'
+ skip_when_only_listed_labels_set: 'docs,NPU'
skip_when_only_listed_files_changed: '*.md,*.rst,*.png,*.jpg,*.svg,*/layer_tests_summary/*,*/conformance/*'
- name: Show affected components
diff --git a/.github/workflows/linux_arm64.yml b/.github/workflows/linux_arm64.yml
index 7edabca236a..66c52ee03a5 100644
--- a/.github/workflows/linux_arm64.yml
+++ b/.github/workflows/linux_arm64.yml
@@ -54,7 +54,7 @@ jobs:
ref_name: ${{ github.ref_name }}
component_pattern: "category: (.*)"
repo_token: ${{ secrets.GITHUB_TOKEN }}
- skip_when_only_listed_labels_set: 'docs'
+ skip_when_only_listed_labels_set: 'docs,GPU,NPU'
skip_when_only_listed_files_changed: '*.md,*.rst,*.png,*.jpg,*.svg'
- name: Show affected components
diff --git a/.github/workflows/linux_riscv.yml b/.github/workflows/linux_riscv.yml
index 254d4745071..7f00a2e901b 100644
--- a/.github/workflows/linux_riscv.yml
+++ b/.github/workflows/linux_riscv.yml
@@ -78,7 +78,7 @@ jobs:
ref_name: ${{ github.ref_name }}
component_pattern: "category: (.*)"
repo_token: ${{ secrets.GITHUB_TOKEN }}
- skip_when_only_listed_labels_set: 'docs'
+ skip_when_only_listed_labels_set: 'docs,GPU,NPU'
skip_when_only_listed_files_changed: '*.md,*.rst,*.png,*.jpg,*.svg,*/layer_tests_summary/*,*/conformance/*'
- name: Get target branch
diff --git a/.github/workflows/ubuntu_22_arm64_cross_compilation.yml b/.github/workflows/ubuntu_22_arm64_cross_compilation.yml
index 76b60a4afe5..f75e171246d 100644
--- a/.github/workflows/ubuntu_22_arm64_cross_compilation.yml
+++ b/.github/workflows/ubuntu_22_arm64_cross_compilation.yml
@@ -55,7 +55,7 @@ jobs:
ref_name: ${{ github.ref_name }}
component_pattern: "category: (.*)"
repo_token: ${{ secrets.GITHUB_TOKEN }}
- skip_when_only_listed_labels_set: 'docs'
+ skip_when_only_listed_labels_set: 'docs,GPU,NPU'
skip_when_only_listed_files_changed: '*.md,*.rst,*.png,*.jpg,*.svg'
- name: Show affected components
diff --git a/.github/workflows/webassembly.yml b/.github/workflows/webassembly.yml
index 2e5508f3b86..677aaa0230d 100644
--- a/.github/workflows/webassembly.yml
+++ b/.github/workflows/webassembly.yml
@@ -50,7 +50,7 @@ jobs:
ref_name: ${{ github.ref_name }}
component_pattern: "category: (.*)"
repo_token: ${{ secrets.GITHUB_TOKEN }}
- skip_when_only_listed_labels_set: 'docs'
+ skip_when_only_listed_labels_set: 'docs,GPU,NPU'
skip_when_only_listed_files_changed: '*.md,*.rst,*.png,*.jpg,*.svg,*/layer_tests_summary/*,*/conformance/*'
- name: Show affected components