Преглед изворни кода

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
Huang Qi пре 1 месец
родитељ
комит
b871f8f9ff
1 измењених фајлова са 2 додато и 4 уклоњено
  1. 2 4
      .github/workflows/compilation_on_zephyr.yml

+ 2 - 4
.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/**"