Skip to content

Commit

Permalink
MoYan;test=document_fix (#5078)
Browse files Browse the repository at this point in the history
  • Loading branch information
momozi1996 authored Jul 13, 2022
1 parent 505ace7 commit f21627e
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 23093488 11935832 39876205`
APPROVALS=`echo ${approval_line} | python ./check_pr_approval.py 1 29231 79295425 23093488 11935832 39876205`
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 dingjiaweiww/DingJiaWei or TCChenlong/ChenLong 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 TCChenlong/ChenLong or Ligoml/LiMengLiu) 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 f21627e

Please sign in to comment.