Skip to content

Commit 6817307

Browse files
committed
fix: ensure paths are consistently defined for push and pull_request triggers in build workflow
1 parent d15f7db commit 6817307

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/build.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,20 @@ name: Build and Test
33
on:
44
push:
55
branches: [ main ]
6+
paths:
7+
- 'src/**'
8+
- 'include/**'
9+
- '**/*.cmake'
10+
- '.gitmodules'
11+
- '.github/workflows/build.yml'
612
pull_request:
713
branches: [ main ]
14+
paths:
15+
- 'src/**'
16+
- 'include/**'
17+
- '**/*.cmake'
18+
- '.gitmodules'
19+
- '.github/workflows/build.yml'
820
workflow_dispatch:
921

1022
jobs:

0 commit comments

Comments
 (0)