Skip to content

Commit 091c259

Browse files
committed
filter out any that contain third_party
1 parent b2c1341 commit 091c259

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/build.yaml

+7-1
Original file line numberDiff line numberDiff line change
@@ -218,15 +218,21 @@ jobs:
218218
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
219219
run: |
220220
touch out/changed_files.txt
221+
222+
# Loop over all changed files and filter out any that contain "third_party"
221223
for file in ${ALL_CHANGED_FILES}; do
224+
if [[ "$file" == *"third_party"* ]]; then
225+
continue
226+
fi
227+
222228
echo "$file changed and will be considered for tidy"
223229
echo "$file" >>out/changed_files.txt
224230
done
225231
226232
./scripts/run_in_build_env.sh \
227233
"./scripts/run-clang-tidy-on-compile-commands.py \
228234
--compile-database out/sanitizers/compile_commands.json \
229-
--file-exclude-regex '/(repo|zzz_generated|lwip/standalone)/|CodegenDataModel_Write|QuieterReporting' \
235+
--file-exclude-regex '/(repo|zzz_generated|lwip/standalone)/|-ReadImpl|-InvokeSubscribeImpl|CodegenDataModel_Write|QuieterReporting' \
230236
--file-list-file out/changed_files.txt \
231237
check \
232238
"

0 commit comments

Comments
 (0)