Skip to content

Commit d06cb3f

Browse files
committed
ci: add paths filter to C++ CI workflow
1 parent 7997062 commit d06cb3f

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/cpp-ci.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,17 @@ name: C++ CI
33
on:
44
push:
55
branches: [ main, master ]
6+
paths:
7+
- 'cpp/**'
8+
- 'CMakeLists.txt'
9+
- '.github/workflows/cpp-ci.yml'
610
pull_request:
711
branches: [ main, master ]
12+
paths:
13+
- 'cpp/**'
14+
- 'CMakeLists.txt'
15+
- '.github/workflows/cpp-ci.yml'
816
workflow_dispatch:
9-
1017
concurrency:
1118
group: cpp-ci-${{ github.workflow }}-${{ github.ref }}
1219
cancel-in-progress: true

0 commit comments

Comments
 (0)