Skip to content

Commit ecb707a

Browse files
committed
update clrf checker
1 parent b929948 commit ecb707a

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/check-crlf.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ jobs:
2525
filter: '*'
2626
- run: |
2727
mapfile -d ',' -t added_modified_files < <(printf '%s,' '${{ steps.files.outputs.added_modified }}')
28+
rc=0
2829
for added_modified_file in "${added_modified_files[@]}"; do
29-
editorconfig-checker --format github-actions ${added_modified_file}
30+
if [ -n "$added_modified_file" ]; then
31+
editorconfig-checker --format github-actions \
32+
--exclude '\.(sf2|icns|aseprite)$' "${added_modified_file}" || rc=1
33+
fi
3034
done
35+
exit $rc

0 commit comments

Comments
 (0)