Skip to content
Next Next commit
Add swift version files as exclusions to the license header checks
  • Loading branch information
cmcgee1024 committed May 14, 2025
commit 2a674093a8d24fe026d27e12367c0b736c8ca348
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 @@ -47,6 +47,8 @@ else
exclude_list=":(exclude).license_header_template"
fi

exclude_list="${exclude_list}:(exclude).swift-version" # Swift version files will never have license headers in them

file_paths=$(echo "$exclude_list" | xargs git ls-files)

while IFS= read -r file_path; do
Expand Down