POST /orgs/{org}/actions/runner-groups
Creates a new self-hosted runner group for an organization.
OAuth tokens and personal access tokens (classic) need the admin:org
scope to use this endpoint.
Servers
- https://api.github.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
org |
String | Yes |
The organization name. The name is not case sensitive. |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
visibility |
String | No |
Visibility of a runner group. You can select all repositories, select individual repositories, or limit access to private repositories. Possible values:
Default value: "all" |
selected_workflows[] |
Array | No |
List of workflows the runner group should be allowed to run. This setting will be ignored unless |
name |
String | Yes |
Name of the runner group. |
allows_public_repositories |
Boolean | No |
Whether the runner group can be used by Default value: false |
runners[] |
Array | No |
List of runner IDs to add to the runner group. |
restricted_to_workflows |
Boolean | No |
If Default value: false |
selected_repository_ids[] |
Array | No |
List of repository IDs that can access the runner group. |
network_configuration_id |
String | No |
The identifier of a hosted compute network configuration. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.