Skip to content

Commit 258ffeb

Browse files
Copilotjwinarske
andcommitted
Add --system-headers=false to completely exclude third_party from clang-tidy
Co-authored-by: jwinarske <12262875+jwinarske@users.noreply.github.com>
1 parent a3ea660 commit 258ffeb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,8 @@ jobs:
142142
clang-tidy "$file" \
143143
-p build \
144144
--warnings-as-errors='*' \
145-
--header-filter='^(?!.*third_party).*$' || exit 1
145+
--header-filter='^(?!.*third_party).*$' \
146+
--system-headers=false || exit 1
146147
done
147148
shell: bash
148149

0 commit comments

Comments
 (0)