From eab71802f75ff1445eba442575b5958ea616dde1 Mon Sep 17 00:00:00 2001 From: Lucile Rose Nihlen Date: Tue, 7 Jul 2026 16:50:44 -0400 Subject: [PATCH] prevent clangd_tidy github workflow from checking generated files (#7470) This prevents an issue when trying to check in changes top bazel-generated template files, which aren't actually valid C++, making clangd_tidy issue errors and block the commit. --- .github/workflows/clangd_tidy.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/clangd_tidy.yaml b/.github/workflows/clangd_tidy.yaml index 41987e1e87a6..dd8f444c9bf9 100644 --- a/.github/workflows/clangd_tidy.yaml +++ b/.github/workflows/clangd_tidy.yaml @@ -64,9 +64,11 @@ jobs: - id: filter uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2 with: + predicate-quantifier: 'every' filters: | has_cpp: - added|modified: '{**/*.cpp,**/*.h}' + - '!**/*.tpl.h' list-files: 'shell' - uses: ./.github/actions/build-setup-common