How to use Github actions self-hosted runner with personal account across many projects? #179202
Replies: 6 comments 7 replies
This comment was marked as off-topic.
This comment was marked as off-topic.
|
Hii @ColtonIdle -- its a good question, you are right, a single self-hosted runner instance can only be registered to one repository, organization or enterprise at a time. If you want the same physical machine to handle multiple repositories, you have two options:
You can also prefer this doc: https://docs.github.com/en/actions/how-tos/manage-runners/self-hosted-runners |
|
You’re right — a self-hosted runner can only be registered to one repository, one organization, or one enterprise at a time. That’s why you see the “runner is already configured” error when trying to attach it to another repo. If you want your local machine to handle multiple personal projects, you’ve got two options: 1.Register the runner at the organization level (recommended)
2.Run multiple runner instances
|
|
You can't register a single runner to multiple repositories directly with multiple ./config.sh commands. Once a runner is configured, it's locked to that specific repository (or organization/enterprise). Go to your GitHub profile settings → Organizations (or https://github.com/settings/organizations) |
|
You can use the same self-hosted runner for multiple personal projects, but it needs to be registered at the account (user) level, not individually for each repository. When you try to re-run ./config.sh with another repo URL, it fails because the runner is already configured for a single repo. Remove the current repo-scoped config: Re-register it at the user/account scope: In each repo’s workflow, just use: Once it’s registered at the user level, any of your personal repos can use that same runner without additional setup. It would definitely be helpful if the docs explained this more clearly, especially for users expanding from a single project. |
|
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |

Uh oh!
There was an error while loading. Please reload this page.
Why are you starting this discussion?
Question
What GitHub Actions topic or product is this about?
Misc
Discussion Details
I setup a self-hosted runner so easily. it was great. but now i want the little machine on my desk to be handle all of my personal projects. doesn't look like theres any easy way to do that. would love some docs here... but ultimately it seems like just writing
./config.sh --url https://github.com/cidle/MyApp2 --token ABCshould work. but it errors saying that the runner is already configured. seems like it should be able to support multiple projects. then when i create a new personal project i can click "add self hosted runner", run the one liner, and be back in business.All reactions