Skip to content

Commit 5bb431a

Browse files
committed
another try
1 parent 1c573e5 commit 5bb431a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/email-check.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ jobs:
2626
echo "EMAIL=$(git show -s --format='%ae' HEAD~0)" >> $GITHUB_OUTPUT
2727
# Create empty comment file
2828
echo "[]" > comments
29-
echo "Author's emal from last commit: $EMAIL"
29+
echo "Author's emal from last commit: $(git show -s --format='%ae' HEAD~0)"
3030
echo "Author's email from GH email settings: ${{ github.event.pull_request.user.email }}"
3131
3232
# If author's email is hidden in GH's settings, github.event.pull_request.user.email
3333
# will be null and PR will be authored by noreply.github.com.
3434
- name: Validate author email
3535
if: ${{ endsWith(steps.author.outputs.EMAIL, 'noreply.github.com') ||
36-
github.event.pull_request.user.email == '' }}
36+
github.event.pull_request.user.email == ""}}
3737
env:
3838
COMMENT: >-
3939
⚠️ We detected that you are using a GitHub private e-mail address to contribute to the repo.<br/>

0 commit comments

Comments
 (0)