From 18b04b83f975bcb1def5a0694bebd6240a0f0555 Mon Sep 17 00:00:00 2001 From: Chen Long Date: Thu, 11 Jun 2020 16:42:27 +0800 Subject: [PATCH] change_approval (#2199) --- scripts/checkapproval.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/checkapproval.sh b/scripts/checkapproval.sh index c4bf0412e..bd8ee8db3 100644 --- a/scripts/checkapproval.sh +++ b/scripts/checkapproval.sh @@ -6,12 +6,12 @@ for API_FILE in ${API_FILES[*]}; do if [ "${API_CHANGE}" ];then approval_line=`curl -H "Authorization: token ${GITHUB_API_TOKEN}" https://api.github.com/repos/PaddlePaddle/FluidDoc/pulls/${GIT_PR_ID}/reviews?per_page=10000` if [ "${API_FILE}" == "doc/fluid" ];then - APPROVALS=`echo ${approval_line}|python ./scripts/check_pr_approval.py 1 31623103 2870059 27208573 28379894` + APPROVALS=`echo ${approval_line}|python ./scripts/check_pr_approval.py 1 2870059 27208573 29231 28379894` fi fi if [ "${APPROVALS}" == "FALSE" ]; then if [ "${API_FILE}" == "doc/fluid" ];then - echo "You must have one TPM (saxon-zh or Boyan-Liu or swtkiwi or Heeenrrry) approval for the api change! ${API_FILE} for the management reason of API interface and API document." + echo "You must have one TPM (saxon-zh or swtkiwi or jzhang533 or Heeenrrry) approval for the api change! ${API_FILE} for the management reason of API interface and API document." fi exit 1 fi -- GitLab