File tree 1 file changed +10
-1
lines changed
1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -78,11 +78,20 @@ jobs:
78
78
id : get-modified-packages
79
79
uses : autowarefoundation/autoware-github-actions/get-modified-packages@v1
80
80
81
+ - name : Get modified files
82
+ id : get-modified-files
83
+ uses : tj-actions/changed-files@v28
84
+ with :
85
+ files : |
86
+ **/*.cpp
87
+ **/*.hpp
88
+
81
89
- name : Run clang-tidy
82
- if : ${{ steps.get-modified-packages .outputs.modified-packages != '' }}
90
+ if : ${{ steps.get-modified-files .outputs.all_changed_files != '' }}
83
91
uses : autowarefoundation/autoware-github-actions/clang-tidy@v1
84
92
with :
85
93
rosdistro : humble
86
94
target-packages : ${{ steps.get-modified-packages.outputs.modified-packages }}
95
+ target-files : ${{ steps.get-modified-files.outputs.all_changed_files }}
87
96
clang-tidy-config-url : https://raw.githubusercontent.com/autowarefoundation/autoware/main/.clang-tidy
88
97
build-depends-repos : build_depends.humble.repos
You can’t perform that action at this time.
0 commit comments