Skip to content

Commit 9de715f

Browse files
authored
ci(workflow): add path filters to CI workflow (#15)
Only trigger builds when relevant files change: - src/** (SDK and template source) - samples/** (sample extension) - .github/workflows/ci.yml (workflow itself) Prevents unnecessary builds from documentation changes.
1 parent 7962ec0 commit 9de715f

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,16 @@ name: CI
33
on:
44
push:
55
branches: [main]
6+
paths:
7+
- 'src/**'
8+
- 'samples/**'
9+
- '.github/workflows/ci.yml'
610
pull_request:
711
branches: [main]
12+
paths:
13+
- 'src/**'
14+
- 'samples/**'
15+
- '.github/workflows/ci.yml'
816

917
jobs:
1018
build:

0 commit comments

Comments
 (0)