Skip to content

Commit

Permalink
ci(test-build): fix check mail (#580)
Browse files Browse the repository at this point in the history
  • Loading branch information
liweijie0812 authored Jan 14, 2025
1 parent dca67df commit fc8f1cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: check_github_primary_email
run: |
log_emails=$(git log --pretty=format:"%ae %ce" -1)
if [[ ${log_emails} == '[email protected]' ]];then
if [[ ${log_emails} =~ '[email protected]' ]];then
echo "$log_emails 跳过验证"
exit 0
fi
Expand All @@ -27,7 +27,7 @@ jobs:
- name: check_local_email
run: |
log_emails=$(git log --pretty=format:"%ae %ce" -1)
if [[ ${log_emails} == '[email protected]' ]];then
if [[ ${log_emails} =~ '[email protected]' ]];then
echo "$log_emails 跳过验证"
exit 0
fi
Expand Down

0 comments on commit fc8f1cc

Please sign in to comment.