fatal: could not read Username for 'https://github.com': No such device or address
See original GitHub issueThank you for such a useful action 😃. It worked well, but today I trapped on an issue.
Describe the bug Job is failed, action cannot push to repository.
Workflow used
Internal logs
> Staging files...
> Adding files...
> No files to remove.
> Checking for uncommitted changes in the git working tree...
> Found 1 changed files.
{ raw: '', remote: null, branches: [], tags: [] }
> Switching/creating branch...
M package.json
Branch 'master' set up to track remote branch 'master' from 'origin'.
> Pulling from remote...
{ raw: '', remote: null, branches: [], tags: [] }
PullSummary {
remoteMessages: RemoteMessageSummary { all: [] },
created: [],
deleted: [],
files: [],
deletions: {},
insertions: {},
summary: { changes: 0, deletions: 0, insertions: 0 }
}
> Re-staging files...
> Creating commit...
{
author: null,
branch: 'master',
commit: 'd05199db',
summary: { changes: 1, insertions: 1, deletions: 2 }
}
> No tag info provided.
> Pushing commit to repo...
Error: Error: Pushing to https://github.com/coderaiser/putout
fatal: could not read Username for 'https://github.com': No such device or address
Outputs
committed: true
pushed: false
tagged: false
Error: Error: Pushing to https://github.com/coderaiser/putout
fatal: could not read Username for 'https://github.com': No such device or address
Here is current config.
Expected behavior I expect that fixes will be pushed to repo.
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (6 by maintainers)
Top Results From Across the Web
fatal: could not read Username for 'https://github.com': No such ...
This is an issue with your stored credentials in the system credential cache. You probably have the config variable 'credential.helper' set to ...
Read more >Fatal: Could not read Username for "https://github.com", No ...
Hello! Today I was doing the setup of a git automation inside a Docker container using hub and I ran into something that...
Read more >Fixing could not read Username for 'https://github.com'
Fixing could not read Username for 'https://github.com': No such device or address in Jenkins. You might have a successfully executing build ...
Read more >failed during stage 'preparing repo': error checking for ref: fatal ...
failed during stage 'preparing repo': error checking for ref: fatal: could not read Username for 'https://github.com': No such device or address Anybody ...
Read more >Git push origin master could not read username for http ...
fatal : could not read Username for 'https://github.com': No such file or directory ... git remote set-url origin git@github.com:username/repo.git.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you @EndBug, I’ll give it a try 😃.
You could have a job that only runs tests (which in your case seem to only be running the build), and that will use the matrix strategy.
Then you can create a second job, with all the steps that you need to use to update the repo, which include my action. This second job should run only once, with no matrix.
Here’s the outline of the workflow: