From 65fd59e2cce9d292300c54a80e8e327426419856 Mon Sep 17 00:00:00 2001 From: wuhuanzhou Date: Tue, 2 Nov 2021 10:44:01 +0800 Subject: [PATCH] modify approve github id, test=develop (#36906) --- paddle/scripts/paddle_build.sh | 4 ++-- tools/check_file_diff_approvals.sh | 4 ++-- tools/test_ci_op_benchmark.sh | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index 68257a8490d..d4b5c0cdeff 100755 --- a/paddle/scripts/paddle_build.sh +++ b/paddle/scripts/paddle_build.sh @@ -2293,11 +2293,11 @@ function collect_ccache_hits() { function test_op_benchmark() { # The PR will pass quickly when get approval from specific person. - # Xreki 12538138, luotao1 6836917, Avin0323 16167147 + # Xreki 12538138, luotao1 6836917, Avin0323 23427135 set +x approval_line=$(curl -H "Authorization: token ${GITHUB_API_TOKEN}" https://api.github.com/repos/PaddlePaddle/Paddle/pulls/${GIT_PR_ID}/reviews?per_page=10000) if [ "${approval_line}" != "" ]; then - APPROVALS=$(echo ${approval_line} | python ${PADDLE_ROOT}/tools/check_pr_approval.py 1 16167147 12538138 6836917) + APPROVALS=$(echo ${approval_line} | python ${PADDLE_ROOT}/tools/check_pr_approval.py 1 23427135 12538138 6836917) echo "current pr ${GIT_PR_ID} got approvals: ${APPROVALS}" if [ "${APPROVALS}" == "TRUE" ]; then echo "===================================" diff --git a/tools/check_file_diff_approvals.sh b/tools/check_file_diff_approvals.sh index 6104b168798..efe492dffc8 100644 --- a/tools/check_file_diff_approvals.sh +++ b/tools/check_file_diff_approvals.sh @@ -366,9 +366,9 @@ if [ -n "${UNITYBUILD_RULE_CHANGED}" -a -n "${GIT_PR_ID}" ]; then wanghuancoder or luotao1) approval for modifying unity_build_rule.cmake which the rules of Unity Build." echo_line=$(echo ${echo_line}) - # Avin0323(16167147) zhouwei25(52485244) + # Avin0323(23427135) zhouwei25(52485244) # wanghuancoder(26922892) luotao1(6836917) - check_approval 1 16167147 52485244 26922892 6836917 + check_approval 1 23427135 52485244 26922892 6836917 fi if [ -n "${echo_list}" ];then diff --git a/tools/test_ci_op_benchmark.sh b/tools/test_ci_op_benchmark.sh index 23df51f09c8..25e613dd6bc 100644 --- a/tools/test_ci_op_benchmark.sh +++ b/tools/test_ci_op_benchmark.sh @@ -317,11 +317,11 @@ function gpu_op_benchmark { } # The PR will pass quickly when get approval from specific person. -# Xreki 12538138, luotao1 6836917, Avin0323 16167147 +# Xreki 12538138, luotao1 6836917, Avin0323 23427135 set +x approval_line=$(curl -H "Authorization: token ${GITHUB_API_TOKEN}" https://api.github.com/repos/PaddlePaddle/Paddle/pulls/${GIT_PR_ID}/reviews?per_page=10000) if [ -n "${approval_line}" ]; then - APPROVALS=$(echo ${approval_line} | python ${PADDLE_ROOT}/tools/check_pr_approval.py 1 16167147 12538138 6836917) + APPROVALS=$(echo ${approval_line} | python ${PADDLE_ROOT}/tools/check_pr_approval.py 1 23427135 12538138 6836917) LOG "[INFO] current pr ${GIT_PR_ID} got approvals: ${APPROVALS}" if [ "${APPROVALS}" == "TRUE" ]; then LOG "[INFO] ===================================" -- GitLab