Skip to content

Commit 37fb59f

Browse files
committed
Use pusher.email
1 parent bfb7244 commit 37fb59f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

merge

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ curl -s "$GITHUB_API_URL/users/$SENDER" -o "$USER_JSON"
1616
export GIT_AUTHOR_NAME=$(jq -r .name "$USER_JSON")
1717
export GIT_AUTHOR_EMAIL=$(jq -r '.email // empty' "$USER_JSON")
1818
if [ -z "$GIT_AUTHOR_EMAIL" ]; then
19-
GIT_AUTHOR_EMAIL=$(jq -r '( (.id|tostring) + "+" + .login + "@users.noreply.github.com")' "$GITHUB_EVENT_PATH")
19+
GIT_AUTHOR_EMAIL=$(jq -r '.pusher.email' "$GITHUB_EVENT_PATH")
2020
fi
2121
export GIT_COMMITTER_NAME=GitHub
2222
export GIT_COMMITTER_EMAIL=noreply@github.com

0 commit comments

Comments
 (0)