Skip to content

Commit b871f8f

Browse files
committed
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
1 parent 3c01e2a commit b871f8f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/compilation_on_zephyr.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ on:
1010
- opened
1111
- synchronize
1212
paths:
13-
- ".github/**"
14-
- "!.github/ISSUE_TEMPLATE/**"
13+
- ".github/workflows/compilation_on_zephyr.yml"
1514
- "build-scripts/**"
1615
- "core/**"
1716
- "!core/deps/**"
@@ -27,8 +26,7 @@ on:
2726
- main
2827
- "dev/**"
2928
paths:
30-
- ".github/**"
31-
- "!.github/ISSUE_TEMPLATE/**"
29+
- ".github/workflows/compilation_on_zephyr.yml"
3230
- "build-scripts/**"
3331
- "core/**"
3432
- "!core/deps/**"

0 commit comments

Comments
 (0)