Skip to content

Commit

Permalink
fix clang tidy when PR doesn't change cpp files
Browse files Browse the repository at this point in the history
  • Loading branch information
henrygerardmoore committed Dec 9, 2024
1 parent 4cefcaa commit b1273fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ jobs:
files: |
**.cpp
**.hpp
- run: run-clang-tidy -j $(nproc --all) -p build/ -export-fixes clang-tidy-fixes.yaml -config-file src/fuse/.clang-tidy ${{ steps.changed-cpp-files.outputs.all_changed_files }}
- if: ${{ steps.changed-cpp-files.outputs.all_changed_files != '' }}
run: run-clang-tidy -j $(nproc --all) -p build/ -export-fixes clang-tidy-fixes.yaml -config-file src/fuse/.clang-tidy ${{ steps.changed-cpp-files.outputs.all_changed_files }}
working-directory: /colcon_ws
- uses: asarium/[email protected]
with:
Expand Down

0 comments on commit b1273fa

Please sign in to comment.