未验证 提交 0b733e4f 编写于 作者: H Huihuang Zheng 提交者: GitHub

Add zhhsplendid into PE Approver (#27919)

* Add zhhsplendid into PE approver, test=develop

* Fix /tab, space mix usage
上级 e3d02c95
...@@ -33,8 +33,8 @@ API_FILES=("CMakeLists.txt" ...@@ -33,8 +33,8 @@ API_FILES=("CMakeLists.txt"
"paddle/fluid/framework/ir/node.h" "paddle/fluid/framework/ir/node.h"
"paddle/fluid/framework/ir/graph.h" "paddle/fluid/framework/ir/graph.h"
"paddle/fluid/framework/framework.proto" "paddle/fluid/framework/framework.proto"
"python/paddle/distributed/__init" "python/paddle/distributed/__init"
"python/paddle/distributed/fleet/__init__.py" "python/paddle/distributed/fleet/__init__.py"
"python/requirements.txt" "python/requirements.txt"
"python/paddle/fluid/__init__.py" "python/paddle/fluid/__init__.py"
"python/paddle/fluid/compiler.py" "python/paddle/fluid/compiler.py"
...@@ -143,9 +143,12 @@ for API_FILE in ${API_FILES[*]}; do ...@@ -143,9 +143,12 @@ for API_FILE in ${API_FILES[*]}; do
elif [ "${API_FILE}" == "paddle/scripts/paddle_build.bat" ]; then elif [ "${API_FILE}" == "paddle/scripts/paddle_build.bat" ]; then
echo_line="You must have one RD (zhouwei25 (Recommend), luotao1) approval for ${API_FILE} changes, which manages all Paddle CI task on Windows.\n" echo_line="You must have one RD (zhouwei25 (Recommend), luotao1) approval for ${API_FILE} changes, which manages all Paddle CI task on Windows.\n"
check_approval 1 52485244 6836917 check_approval 1 52485244 6836917
elif [ "${API_FILE}" == "python/paddle/fluid/parallel_executor.py" ]; then
echo_line="You must have one RD (Xreki,luotao1,zhhsplendid) approval for ${API_FILE}, which manages the underlying code for PaddlePaddle.\n"
check_approval 1 12538138 6836917 7913861
else else
echo_line="You must have one RD (XiaoguangHu01,Xreki,luotao1) approval for ${API_FILE}, which manages the underlying code for fluid.\n" echo_line="You must have one RD (XiaoguangHu01,Xreki,luotao1) approval for ${API_FILE}, which manages the underlying code for fluid.\n"
check_approval 1 3048612 46782768 12538138 6836917 check_approval 1 46782768 12538138 6836917
fi fi
fi fi
done done
...@@ -154,7 +157,7 @@ FILTER=`git diff --name-only upstream/develop | grep -v "tools/"` ...@@ -154,7 +157,7 @@ FILTER=`git diff --name-only upstream/develop | grep -v "tools/"`
HAS_CONST_CAST=`git diff -U0 upstream/$BRANCH $FILTER |grep -o -m 1 "const_cast" || true` HAS_CONST_CAST=`git diff -U0 upstream/$BRANCH $FILTER |grep -o -m 1 "const_cast" || true`
if [ ${HAS_CONST_CAST} ] && [ "${GIT_PR_ID}" != "" ]; then if [ ${HAS_CONST_CAST} ] && [ "${GIT_PR_ID}" != "" ]; then
echo_line="You must have one RD (XiaoguangHu01,Xreki,luotao1) approval for the usage (either add or delete) of const_cast.\n" echo_line="You must have one RD (XiaoguangHu01,Xreki,luotao1) approval for the usage (either add or delete) of const_cast.\n"
check_approval 1 3048612 46782768 12538138 6836917 check_approval 1 46782768 12538138 6836917
fi fi
HAS_BOOST_GET=`git diff -U0 upstream/$BRANCH $FILTER |grep "^+" |grep -o -m 1 "boost::get" || true` HAS_BOOST_GET=`git diff -U0 upstream/$BRANCH $FILTER |grep "^+" |grep -o -m 1 "boost::get" || true`
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册