You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using GitHub Actions for release and deploy. The git user is an organization GitHub App which has all necessary permissions.
The problem is that GitHub App users have square brackets in there user name and email.
So when running
Error: Could not parse name and email from user option "mygithubapp[bot] <123456789+mygithubapp[bot]@users.noreply.github.com>" (format should be "Your Name <[email protected]>")
It seems that the email parser you are using (email-addresses) doesn't accept brackets neither in the username (only if quoted) nor in the email (I think here is no workaround). See also jackbearheart/email-addresses#52.
Any way to fix that? Maybe just using a custom regex?
The text was updated successfully, but these errors were encountered:
I'm using GitHub Actions for release and deploy. The git user is an organization GitHub App which has all necessary permissions.
The problem is that GitHub App users have square brackets in there user name and email.
So when running
gh-pages -d build -b master -r https://github.com/myorg/myrepo.github.io.git -u "mygithubapp[bot] <123456789+mygithubapp[bot]@users.noreply.github.com>"
I get the following error.
It seems that the email parser you are using (
email-addresses
) doesn't accept brackets neither in the username (only if quoted) nor in the email (I think here is no workaround). See also jackbearheart/email-addresses#52.Any way to fix that? Maybe just using a custom regex?
The text was updated successfully, but these errors were encountered: