File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -26,14 +26,14 @@ jobs:
26
26
echo "EMAIL=$(git show -s --format='%ae' HEAD~0)" >> $GITHUB_OUTPUT
27
27
# Create empty comment file
28
28
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) "
30
30
echo "Author's email from GH email settings: ${{ github.event.pull_request.user.email }}"
31
31
32
32
# If author's email is hidden in GH's settings, github.event.pull_request.user.email
33
33
# will be null and PR will be authored by noreply.github.com.
34
34
- name : Validate author email
35
35
if : ${{ endsWith(steps.author.outputs.EMAIL, 'noreply.github.com') ||
36
- github.event.pull_request.user.email == '' }}
36
+ github.event.pull_request.user.email == "" }}
37
37
env :
38
38
COMMENT : >-
39
39
⚠️ We detected that you are using a GitHub private e-mail address to contribute to the repo.<br/>
You can’t perform that action at this time.
0 commit comments