Skip to content

chore: Use git ls-files for license header check#114

Merged
mohamedmansour merged 1 commit intomainfrom
mmansour/license-headers-gitignore
Mar 18, 2026
Merged

chore: Use git ls-files for license header check#114
mohamedmansour merged 1 commit intomainfrom
mmansour/license-headers-gitignore

Conversation

@mohamedmansour
Copy link
Copy Markdown
Contributor

Replace the manual directory walk with git ls-files so the license header check automatically respects .gitignore rules. This removes the hardcoded SKIP_DIRS list and fixes false positives from generated files in VitePress cache, WASM build output, and other ignored directories.

Replace the manual directory walk with `git ls-files` so the license
header check automatically respects .gitignore rules. This removes the
hardcoded SKIP_DIRS list and fixes false positives from generated files
in VitePress cache, WASM build output, and other ignored directories.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@mohamedmansour mohamedmansour requested a review from a team March 18, 2026 15:58
@mohamedmansour mohamedmansour merged commit 7607cbc into main Mar 18, 2026
15 checks passed
@mohamedmansour mohamedmansour deleted the mmansour/license-headers-gitignore branch March 18, 2026 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants