diff --git a/tools/check_file_diff_approvals.sh b/tools/check_file_diff_approvals.sh index 186b1ec2801ff4f9caa29e482e6edb3ff99da448..a14f817e2bbd61996f0f62747c55987701f0a12d 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