Skip to content
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

Automatically Create Runner Groups via GitHub API #397

Closed
wants to merge 1 commit into from

Conversation

christopher-besch
Copy link

@christopher-besch christopher-besch commented Sep 23, 2024

Add the CREATE_RUNNER_GROUP environment variable.

Instead of creating runner groups manually via the web interface, this variable creates them automatically on runner startup.

See: https://docs.github.com/en/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups?apiVersion=2022-11-28#create-a-self-hosted-runner-group-for-an-organization

@myoung34
Copy link
Owner

This is outside the scope of a runner itself. In the real world I would push to use something like a controller to manage this. The runners job is simply to come up and be available, not manage the existence of outside resources such as groups.

In addition this requires an enterprise level plan to manage groups so it's untestable on my side.

@myoung34 myoung34 closed this Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants