File tree Expand file tree Collapse file tree 3 files changed +38
-1
lines changed Expand file tree Collapse file tree 3 files changed +38
-1
lines changed Original file line number Diff line number Diff line change 11on :
22 workflow_call :
3+ push :
4+ paths :
5+ - ' **/*.cpp'
6+ - ' **/*.hpp'
7+ - ' **/*.c'
8+ - ' **/*.h'
9+ - ' **/*.py'
10+ - ' **/*.sh'
11+ - ' .clang-format'
12+ - ' setup.cfg'
13+ - ' .github/workflows/lint.yml'
14+ pull_request :
15+ paths :
16+ - ' **/*.cpp'
17+ - ' **/*.hpp'
18+ - ' **/*.c'
19+ - ' **/*.h'
20+ - ' **/*.py'
21+ - ' **/*.sh'
22+ - ' .clang-format'
23+ - ' setup.cfg'
24+ - ' .github/workflows/lint.yml'
325
426jobs :
527 clang-format :
Original file line number Diff line number Diff line change @@ -2,6 +2,12 @@ name: Pre-commit checks
22
33on :
44 pull_request :
5+ paths-ignore :
6+ - ' docs/**'
7+ - ' *.md'
8+ - ' *.rst'
9+ - ' *.txt'
10+ - ' LICENSE'
511
612jobs :
713 pre-commit :
Original file line number Diff line number Diff line change 11name : Static analysis
22
3- on : [pull_request]
3+ on :
4+ pull_request :
5+ paths :
6+ - ' **/*.cpp'
7+ - ' **/*.hpp'
8+ - ' **/*.c'
9+ - ' **/*.h'
10+ - ' **/CMakeLists.txt'
11+ - ' **/*.cmake'
12+ - ' .github/workflows/static-analysis-pr.yml'
413
514concurrency :
615 group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
You can’t perform that action at this time.
0 commit comments