-
-
Notifications
You must be signed in to change notification settings - Fork 19
Description
The Github Action consistently fails with a fatal: could not read Username for 'https://github.com/': No such device or address error during a git push operation when utilizing actions/checkout@v6.
The action executes successfully and completes the git push operation without any issues when using the previous version, actions/checkout@v5. The failure appears to be related to how version 6 handles authentication or the Git environment setup within the runner.
Error Output
Copying "/home/runner/work/bug-repo-tf/bug-repo-tf/test/test123" to directory: /tmp/test-test123-vama2w
fatal: could not read Username for 'https://github.com/': No such device or address
Elapsed time pushing new tags & release: 394.236ms
Error: Failed to create tags in repository: Command failed: /usr/bin/git push origin test/test123/v1.0.0
fatal: could not read Username for 'https://github.com/': No such device or address
Steps to Reproduce
Use the provided workflow that includes a step that attempts a git push origin ....
Set the checkout step to use actions/checkout@v6.
Run the workflow.
Expected Result: The git push command completes successfully. Actual Result: The git push command fails with the reported fatal: could not read Username error.
Demonstration/Evidence
Working Example (using actions/checkout@v5):
Workflow Run: https://github.com/Sevenlive/bug-repo-tf/actions/runs/19885588449/job/56992088471
Pull Request: Sevenlive/bug-repo-tf#2
Failing Example (using actions/checkout@v6):
Workflow Run: https://github.com/Sevenlive/bug-repo-tf/actions/runs/19885294621
Pull Request: Sevenlive/bug-repo-tf#1