From 992fff6ae92ba84b6674d0d24bb67f305b79c07b Mon Sep 17 00:00:00 2001 From: Aurelius84 Date: Wed, 23 Aug 2023 14:30:45 +0800 Subject: [PATCH] [NewIR]Add approve list for Inference library size growth (#56560) * [NewIR]Add approve list for Inference library size growth * test=document_fix --- paddle/scripts/paddle_build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index ab563fa6ab8..01d34ee0cb0 100644 --- a/paddle/scripts/paddle_build.sh +++ b/paddle/scripts/paddle_build.sh @@ -1159,12 +1159,12 @@ function check_approvals_of_unittest() { EOF if [ $(awk "BEGIN{print 20<$AllDiffSize}") -eq 1 ] ; then approval_line=`curl -H "Authorization: token ${GITHUB_API_TOKEN}" https://api.github.com/repos/PaddlePaddle/Paddle/pulls/${GIT_PR_ID}/reviews?per_page=10000` - APPROVALS=`echo ${approval_line}|python ${PADDLE_ROOT}/tools/check_pr_approval.py 1 89012307 7845005 23653004` + APPROVALS=`echo ${approval_line}|python ${PADDLE_ROOT}/tools/check_pr_approval.py 1 vivienfanghuagood Aurelius84 qingqing01 yuanlehome` echo "current pr ${GIT_PR_ID} got approvals: ${APPROVALS}" if [ "${APPROVALS}" == "FALSE" ]; then echo "==========================================================================================" echo "This PR make the release inference library size growth exceeds 20 M." - echo "Then you must have one RD (vivienfanghuagood (Recommend), qingqing01 or yuanlehome) approval for this PR\n" + echo "Then you must have one RD (vivienfanghuagood (Recommend), Aurelius84 (For NewIR) qingqing01 or yuanlehome) approval for this PR.\n" echo "==========================================================================================" exit 6 fi -- GitLab