Skip to content

fix(clang-tidy): apply ignore patterns when target-files is provided #405

@xmfcx

Description

@xmfcx

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions