Skip to content

Commit

Permalink
add sunzhongkai information in checkapproval.sh (PaddlePaddle#5392)
Browse files Browse the repository at this point in the history
add github id and user name
  • Loading branch information
sunzhongkai588 authored Nov 2, 2022
1 parent 2b70353 commit d24af7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci_scripts/checkapproval.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ for API_FILE in ${API_FILES[*]}; do
approval_line=`curl -H "Authorization: token ${GITHUB_API_TOKEN}" https://api.github.com/repos/PaddlePaddle/docs/pulls/${GIT_PR_ID}/reviews?per_page=10000`
set -x
if [ "${API_FILE}" == "docs/api/paddle" ];then
APPROVALS=`echo ${approval_line} | python ./check_pr_approval.py 1 29231 79295425 23093488 39876205`
APPROVALS=`echo ${approval_line} | python ./check_pr_approval.py 1 29231 79295425 23093488 39876205 70642955`
fi
fi
if [ "${APPROVALS}" == "FALSE" ]; then
if [ "${API_FILE}" == "docs/api/paddle" ];then
set +x
echo "=========================================================================================="
echo "You must have one TPM (jzhang533/ZhangJun or momozi1996/MoYan or dingjiaweiww/DingJiaWei or Ligoml/LiMengLiu) approval for the api change! ${API_FILE} for the management reason of API interface and API document."
echo "You must have one TPM (jzhang533/ZhangJun or momozi1996/MoYan or dingjiaweiww/DingJiaWei or Ligoml/LiMengLiu or sunzhongkai588/SunZhongKai) approval for the api change! ${API_FILE} for the management reason of API interface and API document."
echo "=========================================================================================="
set -x
fi
Expand Down

0 comments on commit d24af7e

Please sign in to comment.