forked from BgLUG/bglug.it
test5
This commit is contained in:
parent
c2cb3c45ef
commit
49a4d51863
@ -20,4 +20,6 @@ jobs:
|
|||||||
git log --pretty=format:"%h %ad | %s%d [%an]" --graph --date=short $@
|
git log --pretty=format:"%h %ad | %s%d [%an]" --graph --date=short $@
|
||||||
modifiche=$(git diff --unified=0 ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }} content/ | grep -E "^[+]" | grep -Ev '^(--- a/|\+\+\+ b/)')
|
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=$(echo $modifiche | grep -c -e '[\u2014]' -e '[\u2018]' -e '[\u2019]' -e '[\u201C]' -e '[\u201D]' -e '[\u2026]' )
|
||||||
if [ $num -gt 0 ] ; then exit 1 ; done
|
echo "modifiche: $modifiche"
|
||||||
|
echo "num: $num"
|
||||||
|
if [ $num -gt 0 ] ; then exit 1 ; else echo "ok" ; done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user