From fc8f1ccfc50277311f0eb13f3ba6e32213048318 Mon Sep 17 00:00:00 2001 From: liweijie0812 <674416404@qq.com> Date: Tue, 14 Jan 2025 16:49:56 +0800 Subject: [PATCH] ci(test-build): fix check mail (#580) --- .github/workflows/test-build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index a4d42f6f..a7c8b827 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -11,7 +11,7 @@ jobs: - name: check_github_primary_email run: | log_emails=$(git log --pretty=format:"%ae %ce" -1) - if [[ ${log_emails} == 'tdesign-bot@tencent.com' ]];then + if [[ ${log_emails} =~ 'tdesign-bot@tencent.com' ]];then echo "$log_emails 跳过验证" exit 0 fi @@ -27,7 +27,7 @@ jobs: - name: check_local_email run: | log_emails=$(git log --pretty=format:"%ae %ce" -1) - if [[ ${log_emails} == 'tdesign-bot@tencent.com' ]];then + if [[ ${log_emails} =~ 'tdesign-bot@tencent.com' ]];then echo "$log_emails 跳过验证" exit 0 fi