forked from BgLUG/bglug.it
test1
This commit is contained in:
parent
c97d6dc4b7
commit
212dd1e0d2
@ -17,6 +17,9 @@ jobs:
|
||||
- name: Check for disallowed chars
|
||||
run: |
|
||||
set -x
|
||||
pwd
|
||||
ls -la
|
||||
ls -la content/
|
||||
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]' )
|
||||
if [ $num -gt 0 ] ; then exit 1 ; done
|
||||
|
Loading…
x
Reference in New Issue
Block a user