diff --git a/.githooks/pre-commit/filter.sh b/.githooks/pre-commit/filter.sh index 3156a8bd..187f32c1 100755 --- a/.githooks/pre-commit/filter.sh +++ b/.githooks/pre-commit/filter.sh @@ -1,8 +1,8 @@ #!/bin/sh EMAIL=$(git config user.email) -if [[ $EMAIL == *"alibaba-inc"* ]] +if [[ $EMAIL == *"alibaba-inc"* ]] || [[ $EMAIL == *"taobao"* ]] then -echo "email with *.alibaba-inc.com are not allowed"; +echo "email with *.alibaba-inc.com or *.taobao.com are not allowed"; exit 1; else echo "";