Add repository access to a self-hosted runner group in an organization
PUT
/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id} https://api.github.com
Adds a repository to the list of repositories that can access a self-hosted runner group. The runner group must have visibility set to selected. For more information, see "Create a self-hosted runner group for an organization."
OAuth tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.
Parameters
path Path Parameters
| Name | Type |
|---|---|
org
required
The organization name. The name is not case sensitive. | string |
runner_group_id
required
Unique identifier of the self-hosted runner group. | number |
repository_id
required
The unique identifier of the repository. | number |
Responses
204
Response
unknown