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
I found out that this was due to the PAT I had configured on the runner .gitconfig is out of date.
I think token should be set in checkout, not in .gitconfig, because workflows have different permissions. So I try to clean up the PAT in .gitconfig, after that the config in .gitconfig become url https://ghp.ci/https://github.com/(Before that it is url https://user:[email protected]/https://github.com/ ).
But checkout fails by error:
Error: fatal: could not read Username for 'https://ghp.ci/': terminal prompts disabled
Is there any way I can set up a proxy on the runner and use checkout for authentication at the same time?
I set up the proxy "https://ghp.ci/" to my runner machine, but I got an error:
The code in workflow is:
After that, I tried to authenticate the identity using a custom PAT, I added the secret and changed the code to:
I still get the same error.
But if I try to run command locally and enter the PAT as password, it runs successfully:
The text was updated successfully, but these errors were encountered: