From b871f8f9ff7fe1152d05644450bd9b043ab7e364 Mon Sep 17 00:00:00 2001 From: Huang Qi Date: Fri, 28 Nov 2025 11:24:14 +0800 Subject: [PATCH] chore: narrow CI workflow trigger scope for Zephyr compilation Optimize GitHub Actions workflow execution by limiting triggers to only changes in the compilation_on_zephyr.yml workflow file itself, reducing unnecessary workflow runs when other .github files are modified. * Update pull_request trigger paths to target specific workflow file * Update push trigger paths to target specific workflow file * Eliminates redundant CI runs for documentation and script changes --- .github/workflows/compilation_on_zephyr.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/compilation_on_zephyr.yml b/.github/workflows/compilation_on_zephyr.yml index 5ac0e9dde..d9a5d46d0 100644 --- a/.github/workflows/compilation_on_zephyr.yml +++ b/.github/workflows/compilation_on_zephyr.yml @@ -10,8 +10,7 @@ on: - opened - synchronize paths: - - ".github/**" - - "!.github/ISSUE_TEMPLATE/**" + - ".github/workflows/compilation_on_zephyr.yml" - "build-scripts/**" - "core/**" - "!core/deps/**" @@ -27,8 +26,7 @@ on: - main - "dev/**" paths: - - ".github/**" - - "!.github/ISSUE_TEMPLATE/**" + - ".github/workflows/compilation_on_zephyr.yml" - "build-scripts/**" - "core/**" - "!core/deps/**"