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
This commit is contained in:
Huang Qi 2025-11-28 11:24:14 +08:00
parent 3c01e2ae0c
commit b871f8f9ff

View File

@ -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/**"