-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Git checkout requires github token #233
Comments
@ovitente i got past a similar issue by using |
@gimmyxd Unfortunately I am receiving the same error.
Not working :( |
I found that if one goes to Settings and Personal Access Tokens, and generate a new token. Make sure to remove all access except user and use this key in place of Edit: |
Issue is stale and will be closed in 7 days unless there is new activity |
Thanks all above for the workaround, I just hit the same issue. I could clone my own repo but when I tried to clone another public repo I've got an error. It may be have to do something with this: https://github.com/actions/checkout#checkout-multiple-repos-private
It would be good to mention this in README of |
Working solution for token on current version, -
|
Hi, I would like to re-open this issue. I have just installed act on my local mac, tried to run it against a private rep and I have the same issue as above: [CI/Deployment] ❗ ::error::Input required and not supplied: token If I manually add the token in the action within the job with my personal generated token, it will work. If I try to use the export GITHUB_TOKEN=<> and execute act, I get the same error. is there something that I am missing? kind regards |
You should pass |
@catthehacker Maybe we should make this clear in the README, because there it's only mentioned as a something you need to use GHE |
I encounted the same problem. Why need the gtihub token to run locally ?? |
@catthehacker Thanks for the information! I I understood it. |
Since the Also, the README does not mention that this is required |
@merlinpatt please see #678 |
Hello
OS: MacOS Catalina
GIT: 2.26.2 (installed through brew and added
/usr/local/bin/
to$PATH
)My workflow has this step
As result with
act
can't continue due this error that i can't handle, because there are no info in--help
about it.Questions:
act
is trying to get reach into remote private repo instead of using local fresh pulled copy?opts.auth
file and where to put it to getact
working?The text was updated successfully, but these errors were encountered: