Skip to content

Commit 32269f3

Browse files
committed
Add swift version files as exclusions to the license header checks
1 parent df1df2a commit 32269f3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/scripts/check-license-header.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ else
4747
exclude_list=":(exclude).license_header_template"
4848
fi
4949

50+
exclude_list="${exclude_list}:(exclude).swift-version" # Swift version files will never have license headers in them
51+
5052
file_paths=$(echo "$exclude_list" | xargs git ls-files)
5153

5254
while IFS= read -r file_path; do

0 commit comments

Comments
 (0)