Skip to content

Commit 5e83d77

Browse files
committed
Whitelist paths in build workflow
1 parent 3a5429f commit 5e83d77

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,23 @@ name: Matplotplusplus
33
on:
44
push:
55
paths:
6+
- '**.c'
67
- '**.cpp'
78
- '**.h'
9+
- '**.hpp'
810
- '**.cmake'
911
- '**/CMakeLists.txt'
1012
- '.github/workflows/build.yml'
11-
- '**.yml'
1213
pull_request:
1314
paths:
15+
- '**.c'
1416
- '**.cpp'
1517
- '**.h'
18+
- '**.hpp'
1619
- '**.cmake'
1720
- '**/CMakeLists.txt'
1821
- '.github/workflows/build.yml'
19-
- '**.yml'
20-
22+
2123
jobs:
2224
Build:
2325
name: ${{ matrix.config.name }}

0 commit comments

Comments
 (0)