From 221362500edcdb6f01acaf197493e7a2f508e7ba Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 13 Jun 2025 21:53:33 +0200 Subject: [PATCH] Update onpush_builder.yaml --- .github/workflows/onpush_builder.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/onpush_builder.yaml b/.github/workflows/onpush_builder.yaml index 3250591e8..b51d8d327 100644 --- a/.github/workflows/onpush_builder.yaml +++ b/.github/workflows/onpush_builder.yaml @@ -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 {} \;