question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

self-hosted runner not connected to my repo.

See original GitHub issue

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:

{"level":"error","status":"terminated"}
Error: REPO_TOKEN does not have enough permissions to access workflow API
    at CML.repo_token_check (/cml/src/cml.js:236:13)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
	Destroy scheduled: 30 seconds remaining.
	No TF resource found

@elleobrien , Can you please take a look and help me understand, what I am doing wrong?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
mhs-achyutcommented, May 26, 2021

@0x2b3bfa0 yes, Thanks a lot for the quick responses!

1reaction
0x2b3bfa0commented, May 26, 2021

🎉 @mhs-achyut, eureka! Just remove the .git suffix from your repository address, e.g. https://github.com/mhs-achyut/example_cml instead of https://github.com/mhs-achyut/example_cml.git

Read more comments on GitHub >

github_iconTop Results From Across the Web

Monitoring and troubleshooting self-hosted runners
You can monitor your self-hosted runners to view their activity and diagnose common issues. ... Offline: The runner is not connected to GitHub....
Read more >
Connecting to a private network from GitHub-hosted Actions ...
Several ways for GitHub-hosted Actions runners to connect to resources on your private network.
Read more >
GitHub Actions - Self-hosted runners - Installation & Calling
When using GitHub Actions, you have the option to use GitHub hosted runners, or to run your own runners, called self - hosted...
Read more >
GitLab Runner
GitLab Runner is an application that works with GitLab CI/CD to run jobs in a pipeline. You can choose to install the GitLab...
Read more >
Self-Hosted GitHub Runners Are Backdoors - Praetorian
Configure self-hosted runners at the repository level and not the organization for any repositories containing more sensitive source code.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found