mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-30 22:02:41 +01:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user