You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Using persist-credentials: false leads to could not read Username for 'https://github.com/': No such device or address #673
Describe the bug
Using persist-credentials: false in a private repository for actions/checkout@v4 as suggested by https://github.com/woodruffw/zizmor leads to could not read Username for 'https://github.com/': No such device or address
Expected behavior
The documentation suggests to update to actions/checkout@v2 for the error message I saw.
Maybe this just needs to be added to the documentation as another source for this error.
Logs
Run EndBug/add-and-commit@v9
Running in /home/runner/work/...
Add input parsed as string array, running 2 git add commands.
> Using 'dependabot[bot] ' as author.
> Using custom committer info: GitHub Actions
> Using "Version synchronisation" as commit message.
> Internal logs
> Staging files...
> Adding files...
> No files to remove.
> Checking for uncommitted changes in the git working tree...
> Found 1 changed files.
> Fetching repo...
Error: Error: fatal: could not read Username for 'https://github.com/': No such device or address
Activity
EndBug commentedon Nov 26, 2024
Hmm yeah, makes sense that
persist-credentials: falsecauses this issue, as then add-and-commit has no credentials to access the repo. It's worth mentioning this in https://github.com/EndBug/add-and-commit#about-actionscheckoutEndBug commentedon Nov 26, 2024
@all-contributors please add @icemac for their docs contribution
allcontributors commentedon Nov 26, 2024
@EndBug
I've put up a pull request to add @icemac! 🎉
EndBug commentedon Nov 26, 2024
Thanks for the suggestion :)
fix(devops): do not persist credentials in checkout action (#5543)