test9
All checks were successful
Check for disallowed chars / unicode-check (pull_request) Successful in 2m18s

This commit is contained in:
Paolo Asperti 2024-08-05 21:06:16 +02:00
parent 8e9dfaa774
commit 8e35606220
Signed by: paspo
GPG Key ID: 06D46905D19D5182

View File

@ -19,7 +19,7 @@ jobs:
run: |
set -x
modifiche=$(git diff --unified=0 ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }} content/ | grep -E "^[+]" | grep -Ev '^(--- a/|\+\+\+ b/)')
num=$(echo $modifiche | grep -c -e '[\u2014]' -e '[\u2018]' -e '[\u2019]' -e '[\u201C]' -e '[\u201D]' -e '[\u2026]' )
num=$(git diff --unified=0 ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }} content/ | grep -E "^[+]" | grep -Ev '^(--- a/|\+\+\+ b/)' | grep -c -e '[\u2014]' -e '[\u2018]' -e '[\u2019]' -e '[\u201C]' -e '[\u201D]' -e '[\u2026]' )
echo "modifiche: $modifiche"
echo "num: $num"