actions / checkout

Action for checking out a repo
https://github.com/features/actions
MIT License
5.96k stars 1.77k forks source link

Error: fatal: Cannot prompt because user interactivity has been disabled. #1091

Open ukreddy-erwin opened 1 year ago

ukreddy-erwin commented 1 year ago

I am trying on windows-latest runner of github actions. Which worked earlier. But not working now.

The token is still not expired.

"C:\Program Files\Git\bin\git.exe" -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +refs/heads/12.5*:refs/remotes/origin/12.5* +refs/tags/12.5*:refs/tags/12.5*
  Error: fatal: Cannot prompt because user interactivity has been disabled.
  Error: fatal: could not read Username for 'https://github.com/': terminal prompts disabled
  The process 'C:\Program Files\Git\bin\git.exe' failed with exit code 128
  Waiting 20 seconds before trying again
qnlbnsl commented 1 year ago

@ukreddy-erwin ever get it to work?

ukreddy-erwin commented 1 year ago

I didn't get your question. I already mentioned before it worked earlier but not now 🙂

ZA78223 commented 6 months ago

@ukreddy-erwin Did you get any solution for this issue, i am facing the same issue. Thanks!

p1k2i commented 1 month ago

It occures when you are missing to setup authorization. Probably you have updated your git credentials in Jenkins and you have to repeat to select it in the configuration for your project.