-
Notifications
You must be signed in to change notification settings - Fork 331
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
self-hosted runner not connected to my repo. #562
Comments
👋🏼 Welcome, @mhs-achyut! Can you please post the command you're running to get this error message? |
Hello @0x2b3bfa0 please find the command below:
|
@mhs-achyut, I have been unable to reproduce your issue by running the command you provided. The most frequent causes for this particular error message are:
Please verify that your token is a pesonal access token and it has access to the whole |
@mhs-achyut cml runner needs access to the github actions API, for that you need to create a personal access token with the workflow enabled. |
Hi, I have the personal access token with those respective access permissions enabled. Does it need to be a public repo? |
@mhs-achyut, no, it doesn't need to be a public repository. Can you please try creating a new token? |
no luck, I tried creating a new token. also, I tried using a public repo. Same error for both the cases. |
@mhs-achyut, can you please try again with this debug version of CML? docker run --name gpurunner --gpus all -e RUNNER_IDLE_TIMEOUT=1000 -e RUNNER_LABELS=cml,gpu -e RUNNER_REPO="https://github.com/<myprivate_repo>" -e repo_token=<my_private_token> dvcorg/cml-py3 bash -c "npm config set user 0 && npm install --global git+https://github.com/iterative/cml#dont-mask-token-exception && cml-runner" |
@0x2b3bfa0 ,after running the debug version as shown above, Please find the error below:
|
🎉 @mhs-achyut, eureka! Just remove the |
@mhs-achyut, did this change solve your issue? |
@0x2b3bfa0 yes, Thanks a lot for the quick responses! |
Hello, I am new to cml community. I am trying to use self-hosted runners with github actions to set up CI with my private github repo. I have pulled the docker container dvcorg/cml-py3 and ran with all the environment variables as specified in this video https://www.youtube.com/watch?v=rVq-SCNyxVc&ab_channel=DVCorgDVCorg
I have created a personal access token with workflow and repo permissions.
However, when I run this without -d flag, I see an error as follows:
@elleobrien , Can you please take a look and help me understand, what I am doing wrong?
The text was updated successfully, but these errors were encountered: