The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "GitHub's products."Adds a repository to the list of selected 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."You must authenticate using an access token with the admin:org scope to use this endpoint.
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request PUT 'https://api.github.com/orgs//actions/runner-groups//repositories/'
Response Response Example
{}
Request
Path Params
org
stringÂ
required
runner_group_id
integerÂ
required
Unique identifier of the self-hosted runner group.