mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 18:31:02 +01:00
Update onpush_builder.yaml
This commit is contained in:
6
.github/workflows/onpush_builder.yaml
vendored
6
.github/workflows/onpush_builder.yaml
vendored
@@ -50,8 +50,10 @@ jobs:
|
||||
set -e
|
||||
cd "${{ matrix.addon }}"
|
||||
# Normalize unicode (non-breaking) spaces to regular spaces
|
||||
find . -type f ! -path "./.git/*" | while read -r file; do
|
||||
LC_ALL=C sed -i 's/\xC2\xA0/ /g' "$file"
|
||||
find . -type f ! -path "./.git/*" \
|
||||
! -iname "*.png" ! -iname "*.jpg" ! -iname "*.jpeg" \
|
||||
! -iname "*.gif" ! -iname "*.svg" ! -iname "*.webp" ! -iname "*.ico" ! -iname "*.bmp" \
|
||||
! -iname "*.pdf" | while read -r file; do LC_ALL=C sed -i 's/\xC2\xA0/ /g' "$file"
|
||||
done
|
||||
# Make all .sh scripts executable
|
||||
find . -type f -iname "*.sh" -exec chmod u+x {} \;
|
||||
|
||||
Reference in New Issue
Block a user