apicheats.dev Cheat sheet Raw .md
POST

Try POST /orgs/{org}/actions/runner-groups — GitHub API

GitHub playground

Create a self-hosted runner group for an organization

Credentials

Kept in this tab only. Requests go through apicheats.dev's same-origin proxy straight to api.github.com; the proxy stores and logs nothing about them.

Headers

Path

Body application/json

8 body fields
  • name · required · string — Name of the runner group.
  • visibility · optional · string — Visibility of a runner group. You can select all repositories, select individual repositories, or limit access to private repositories.
  • selected_repository_ids · optional · integer[] — List of repository IDs that can access the runner group.
  • runners · optional · integer[] — List of runner IDs to add to the runner group.
  • allows_public_repositories · optional · boolean — Whether the runner group can be used by `public` repositories.
  • restricted_to_workflows · optional · boolean — If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array.
  • selected_workflows · optional · string[] — List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`.
  • network_configuration_id · optional · string — The identifier of a hosted compute network configuration.