Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/scripts/check-license-header.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ while IFS= read -r file_path; do
json) continue ;; # JSON doesn't support line comments
jsx) comment_marker='//' ;;
kts) comment_marker='//' ;;
kt) comment_marker='//' ;;
md) continue ;; # Text files don't need license headers
mobileconfig) continue ;; # Doesn't support comments
modulemap) continue ;; # Configuration file doesn't need a license header
Expand All @@ -98,6 +99,7 @@ while IFS= read -r file_path; do
strings) comment_marker='//' ;;
swift-format) continue ;; # .swift-format is JSON and doesn't support comments
swift) comment_marker='//' ;;
toml) comment_marker='##' ;;
ts) comment_marker='//' ;;
tsx) comment_marker='//' ;;
txt) continue ;; # Text files don't need license headers
Expand Down