未验证 提交 167d048d 编写于 作者: T tianshuo78520a 提交者: GitHub

Update approval;test=document_fix (#56804)

* Update approval;test=document_fix

* test=document_fix
上级 9d59c04e
...@@ -126,8 +126,8 @@ if [[ $changed_env_var_count -gt 0 ]]; then ...@@ -126,8 +126,8 @@ if [[ $changed_env_var_count -gt 0 ]]; then
fi fi
if [[ $git_files -gt 19 || $git_count -gt 999 ]];then if [[ $git_files -gt 19 || $git_count -gt 999 ]];then
echo_line="You must have Dianhai or XiaoguangHu01 approval for change 20+ files or add than 1000+ lines of content.\n" echo_line="You must have raindrops2sea or XiaoguangHu01 approval for change 20+ files or add than 1000+ lines of content.\n"
check_approval 1 Dianhai XiaoguangHu01 check_approval 1 raindrops2sea XiaoguangHu01
fi fi
for API_FILE in ${API_FILES[*]}; do for API_FILE in ${API_FILES[*]}; do
...@@ -135,7 +135,7 @@ for API_FILE in ${API_FILES[*]}; do ...@@ -135,7 +135,7 @@ for API_FILE in ${API_FILES[*]}; do
if [ "${API_CHANGE}" ] && [ "${GIT_PR_ID}" != "" ]; then if [ "${API_CHANGE}" ] && [ "${GIT_PR_ID}" != "" ]; then
# NOTE: per_page=10000 should be ok for all cases, a PR review > 10000 is not human readable. # NOTE: per_page=10000 should be ok for all cases, a PR review > 10000 is not human readable.
# You can use http://caius.github.io/github_id/ to find Github user id. # You can use http://caius.github.io/github_id/ to find Github user id.
# approval_user_list: XiaoguangHu01 46782768,Xreki 12538138,luotao1 6836917,qingqing01 7845005,guoshengCS 14105589,heavengate 12605721,kuke 3064195,Superjomn 328693,lanxianghit 47554610,cyj1986 39645414,hutuxian 11195205,frankwhzhang 20274488,nepeplwu 45024560,Dianhai 38231817,chenwhql 22561442,zhiqiu 6888866,seiriosPlus 5442383,gongweibao 10721757,saxon-zh 2870059, zhouwei25 52485244, Aurelius84 9301846, liym27 33742067, zhhsplendid 7913861, kolinwei 22165420, liuwei1031 46661762, dingjiaweiww 23093488, juncaipeng 52520497, zhangting2020 26615455, Shixiaowei02 39303645, Heeenrrry 28379894,XieYunshen 32428676, Dong Daxiang 35550832, phlrain 43953930, qili93 16605440. # approval_user_list: XiaoguangHu01 46782768,Xreki 12538138,luotao1 6836917,qingqing01 7845005,guoshengCS 14105589,heavengate 12605721,kuke 3064195,Superjomn 328693,lanxianghit 47554610,cyj1986 39645414,hutuxian 11195205,frankwhzhang 20274488,nepeplwu 45024560,raindrops2sea 38231817,chenwhql 22561442,zhiqiu 6888866,seiriosPlus 5442383,gongweibao 10721757,saxon-zh 2870059, zhwesky2010 52485244, Aurelius84 9301846, liym27 33742067, zhhsplendid 7913861, kolinwei 22165420, liuwei1031 46661762, dingjiaweiww 23093488, juncaipeng 52520497, zhangting2020 26615455, Shixiaowei02 39303645, Heeenrrry 28379894,XieYunshen 32428676, Dong Daxiang 35550832, phlrain 43953930, qili93 16605440.
if [ "${API_FILE}" == "CMakeLists.txt" ];then if [ "${API_FILE}" == "CMakeLists.txt" ];then
echo_line="You must have one RD (wanghuancoder, luotao1, Aurelius84, XiaoguangHu01 or qili93) approval for CMakeLists.txt, which manages the compilation parameter.\n" echo_line="You must have one RD (wanghuancoder, luotao1, Aurelius84, XiaoguangHu01 or qili93) approval for CMakeLists.txt, which manages the compilation parameter.\n"
check_approval 1 wanghuancoder luotao1 Aurelius84 XiaoguangHu01 qili93 check_approval 1 wanghuancoder luotao1 Aurelius84 XiaoguangHu01 qili93
...@@ -200,11 +200,11 @@ for API_FILE in ${API_FILES[*]}; do ...@@ -200,11 +200,11 @@ for API_FILE in ${API_FILES[*]}; do
echo_line="You must have (fuyinno4 (Recommend), raindrops2sea) approval for ${API_FILE} changes.\n" echo_line="You must have (fuyinno4 (Recommend), raindrops2sea) approval for ${API_FILE} changes.\n"
check_approval 1 fuyinno4 raindrops2sea check_approval 1 fuyinno4 raindrops2sea
elif [ "${API_FILE}" == "paddle/scripts/paddle_build.bat" ] || [ "${API_FILE}" == "tools/windows/run_unittests.sh" ]; then elif [ "${API_FILE}" == "paddle/scripts/paddle_build.bat" ] || [ "${API_FILE}" == "tools/windows/run_unittests.sh" ]; then
echo_line="You must have one RD (zhouwei25 (Recommend), wanghuancoder, luotao1 or Aurelius84) approval for ${API_FILE} changes, which manages the Paddle CI task on Windows.\n" echo_line="You must have one RD (zhwesky2010 (Recommend), wanghuancoder, luotao1 or Aurelius84) approval for ${API_FILE} changes, which manages the Paddle CI task on Windows.\n"
check_approval 1 zhouwei25 wanghuancoder luotao1 Aurelius84 check_approval 1 zhwesky2010 wanghuancoder luotao1 Aurelius84
elif [ "${API_FILE}" == "tools/parallel_UT_rule.py" ]; then elif [ "${API_FILE}" == "tools/parallel_UT_rule.py" ]; then
echo_line="You must have one RD (zhouwei25 (Recommend), wanghuancoder, luotao1 or Aurelius84) approval for ${API_FILE} changes, which manages the rule of running unittest with a same GPU. If the unittest failed due to Insufficient GPU memory or CUBLAS_STATUS_ALLOC_FAILED, you can remove it from ${API_FILE}.\n" echo_line="You must have one RD (zhwesky2010 (Recommend), wanghuancoder, luotao1 or Aurelius84) approval for ${API_FILE} changes, which manages the rule of running unittest with a same GPU. If the unittest failed due to Insufficient GPU memory or CUBLAS_STATUS_ALLOC_FAILED, you can remove it from ${API_FILE}.\n"
check_approval 1 zhouwei25 wanghuancoder luotao1 Aurelius84 check_approval 1 zhwesky2010 wanghuancoder luotao1 Aurelius84
elif [ "${API_FILE}" == "python/paddle/fluid/parallel_executor.py" ]; then elif [ "${API_FILE}" == "python/paddle/fluid/parallel_executor.py" ]; then
echo_line="You must have one RD (Xreki, luotao1, zhhsplendid or Aurelius84) approval for ${API_FILE}, which manages the underlying code for PaddlePaddle.\n" echo_line="You must have one RD (Xreki, luotao1, zhhsplendid or Aurelius84) approval for ${API_FILE}, which manages the underlying code for PaddlePaddle.\n"
check_approval 1 Xreki luotao1 zhhsplendid Aurelius84 check_approval 1 Xreki luotao1 zhhsplendid Aurelius84
...@@ -565,13 +565,13 @@ fi ...@@ -565,13 +565,13 @@ fi
UNITYBUILD_RULE_CHANGED=$(git diff --name-only upstream/$BRANCH | UNITYBUILD_RULE_CHANGED=$(git diff --name-only upstream/$BRANCH |
grep "unity_build_rule.cmake" || true) grep "unity_build_rule.cmake" || true)
if [ -n "${UNITYBUILD_RULE_CHANGED}" -a -n "${GIT_PR_ID}" ]; then if [ -n "${UNITYBUILD_RULE_CHANGED}" -a -n "${GIT_PR_ID}" ]; then
echo_line="You must have one RD (Avin0323(Recommend) or zhouwei25 or echo_line="You must have one RD (Avin0323(Recommend) or zhwesky2010 or
wanghuancoder or luotao1 or Aurelius84) approval for modifying wanghuancoder or luotao1 or Aurelius84) approval for modifying
unity_build_rule.cmake which the rules of Unity Build." unity_build_rule.cmake which the rules of Unity Build."
echo_line=$(echo ${echo_line}) echo_line=$(echo ${echo_line})
# Avin0323(23427135) zhouwei25(52485244) # Avin0323(23427135) zhwesky2010(52485244)
# wanghuancoder(26922892) luotao1(6836917) # wanghuancoder(26922892) luotao1(6836917)
check_approval 1 Avin0323 zhouwei25 wanghuancoder luotao1 Aurelius84 check_approval 1 Avin0323 zhwesky2010 wanghuancoder luotao1 Aurelius84
fi fi
if [ -n "${echo_list}" ];then if [ -n "${echo_list}" ];then
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册