Summary
The clang-tidy action applies .clang-tidy-ignore and */test/* exclusion only in the find fallback path. When target-files is provided directly (e.g. by diff-based workflows), those filters are entirely bypassed.
This means callers that provide target-files must duplicate the filtering logic at the workflow level.
Expected behavior
Ignore patterns should be applied regardless of whether target-files is provided or files are discovered via find.
References
Summary
The
clang-tidyaction applies.clang-tidy-ignoreand*/test/*exclusion only in thefindfallback path. Whentarget-filesis provided directly (e.g. by diff-based workflows), those filters are entirely bypassed.This means callers that provide
target-filesmust duplicate the filtering logic at the workflow level.Expected behavior
Ignore patterns should be applied regardless of whether
target-filesis provided or files are discovered viafind.References
workflows): exclude all test folders in thebuild-and-test-diff-reusable.yamlautoware_core#1026 (review comment)