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

[Feature Request] Add a check if Token is empty or not and show better error message #1321

Closed
alexander-schranz opened this issue Nov 23, 2022 · 2 comments · Fixed by #1324
Closed

Comments

@alexander-schranz
Copy link

Subject of the issue

I did run into #871

fatal: could not read Username for 'https://github.com/': No such device or address
  Error: The process '/usr/bin/git' failed with exit code 128

And sadly github doesn't allow some debugging if all is given correctly to the action. It would be nice if the action could check if token is not empty and show a more friendly

Steps to reproduce

Try to use the action without a token. The error is a little bit confusing.

@peter-evans
Copy link
Owner

Thank you for raising this. I've added a check for the token input and released as v4.2.3 / v4.

@alexander-schranz
Copy link
Author

@peter-evans that is really great thank you!

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 a pull request may close this issue.

2 participants