From 92125870edb510182d24a5b1af3ed4bad2489cec Mon Sep 17 00:00:00 2001 From: tianshuo78520a <707759223@qq.com> Date: Thu, 18 Aug 2022 19:09:47 +0800 Subject: [PATCH] add skip ci check test=document_fix (#45240) * add skip ci check,test=document_fix * add message ;test=document_fix * add message ;test=document_fix --- tools/check_file_diff_approvals.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/check_file_diff_approvals.sh b/tools/check_file_diff_approvals.sh index 186b1ec2801..a14f817e2bb 100644 --- a/tools/check_file_diff_approvals.sh +++ b/tools/check_file_diff_approvals.sh @@ -433,6 +433,12 @@ if [ "${RUNTYPE_FILE_CHANGED}" != "" ] && [ "${GIT_PR_ID}" != "" ]; then fi fi +SKIP_CI=`git log -2 |grep -w "test=document_fix" || true` +if [[ ${SKIP_CI} ]];then + echo_line="You must have one RD (tianshuo78520a (Recommend),zhiqiu ,phlrain ) approval you add test=document_fix method in commit skips CI" + check_approval 1 tianshuo78520a zhiqiu phlrain +fi + # Get the list of PR authors with unresolved unit test issues pip install PyGithub # For getting PR related data -- GitLab