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

fatal: could not read Username for 'https://github.com/': No such device or address #2094

Closed
nvuillam opened this issue Jun 20, 2023 · 3 comments

Comments

@nvuillam
Copy link

Subject of the issue

Since a few days, my automated job is unable to create new PR using create-pull-request Github Action

The error is the following:

Checking the base repository state
  /usr/bin/git symbolic-ref HEAD --short
  main
  Working base is branch 'main'
  /usr/bin/git remote prune origin
  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

image

Steps to reproduce

You can have a look at the issue in its natural habitat here -> https://github.com/oxsecurity/megalinter/actions/runs/5317239991/jobs/9627563790

The workflow is the following and has not been updated for a while -> https://github.com/oxsecurity/megalinter/blob/main/.github/workflows/auto-update-linters.yml

Many thanks for your support :)

@peter-evans
Copy link
Owner

Hi @nvuillam

This usually occurs when there is a problem with the token. Please could you check the following issues to see if they help you resolve it.

@nvuillam
Copy link
Author

@peter-evans many thanks for your quick reply :)

I thought my token was ok, but I regenerated a new one to check

I'll close the issue once I confirm it's ok :)

@nvuillam
Copy link
Author

It was indeed a token issue, thanks again for your quick reply :)

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

No branches or pull requests

2 participants