Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix Crashing when called getAuthUser was failed #149

Conversation

ryota0624
Copy link
Contributor

fix this issue
#104

This crash is triggered by core.debug (error).

in my case, i used {secrets.GITHUB_TOKEN} in github actions job.

{secrets.GITHUB_TOKEN} was invalid for using scala-steward-action bacause this is not have permission for access /user.
and octokit throw exception.

i think this fix is good for troubleshooting in setup steward-action.

@alejandrohdezma
Copy link
Member

Thank you @ryota0624! :)

@alejandrohdezma alejandrohdezma merged commit bce7319 into scala-steward-org:master Sep 2, 2020
@ryota0624 ryota0624 deleted the fix/get-auth-user-crashing branch September 2, 2020 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants