Skip to content

Commit a960041

Browse files
committed
open-pr: gracefully handle when an actor has no public email address
It is quite common for users not to publish their email addresses in their GitHub profile, which is totally okay, and we should just deal with this in an elegant way. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 2177105 commit a960041

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/open-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ jobs:
126126
)
127127
core.setOutput('login', answer.login)
128128
core.setOutput('name', answer.name)
129-
core.setOutput('email', answer.email)
129+
core.setOutput('email', answer.email || `${process.env.ACTOR}@users.noreply.github.com`)
130130
- name: Configure build
131131
shell: bash
132132
run: |

0 commit comments

Comments
 (0)