From fe2df9b3ac5c8566808c5ec6ca8e975527232b71 Mon Sep 17 00:00:00 2001 From: Timofey Solonin Date: Wed, 21 Jan 2026 14:19:01 +0100 Subject: [PATCH] Support kt and toml files in the license check These are often use in Gradle build script development --- .github/workflows/scripts/check-license-header.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/scripts/check-license-header.sh b/.github/workflows/scripts/check-license-header.sh index fa512e24..2677b084 100755 --- a/.github/workflows/scripts/check-license-header.sh +++ b/.github/workflows/scripts/check-license-header.sh @@ -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 @@ -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