Skip to content

Commit 1353f1b

Browse files
add print again to see if changing public email changes the email returned by GraphQL
1 parent 65d0964 commit 1353f1b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/email-check.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ jobs:
3737
email=$(gh api graphql -f login="$PR_AUTHOR" -f query="$query" -H "Authorization: Bearer $GITHUB_TOKEN" --jq '.data.user.email')
3838
echo "EMAIL_AUTHOR_GH_UI=$email" >> "$GITHUB_OUTPUT"
3939
40+
# Print the email to the log for debugging purposes.
41+
echo "GitHub user's email: $email"
42+
4043
# Create empty comment file
4144
echo "[]" > comments
4245

0 commit comments

Comments
 (0)