From a6c4d976f9dfe389b49f31a6dbbe4166bf035417 Mon Sep 17 00:00:00 2001 From: tianshuo78520a <707759223@qq.com> Date: Fri, 26 Aug 2022 16:55:04 +0800 Subject: [PATCH] test=document_fix (#45454) --- tools/check_file_diff_approvals.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/check_file_diff_approvals.sh b/tools/check_file_diff_approvals.sh index a73a82f70b..6b0f53ac52 100644 --- a/tools/check_file_diff_approvals.sh +++ b/tools/check_file_diff_approvals.sh @@ -439,7 +439,7 @@ if [ "${RUNTYPE_FILE_CHANGED}" != "" ] && [ "${GIT_PR_ID}" != "" ]; then fi fi -SKIP_CI=`git log -2 |grep -w "test=document_fix" || true` +SKIP_CI=`git log --pretty=oneline|grep $AGILE_REVISION |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 -- GitLab