v50

latestOpenAPI 3.0.3MITraw.githubusercontent.com2024-03-2585861610.1 MB
actions

Add repository access to a self-hosted runner group in an organization

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.

put/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}

Path parameters

orgstring required

The organization name. The name is not case sensitive.

runner_group_idinteger required

Unique identifier of the self-hosted runner group.

repository_idinteger required

The unique identifier of the repository.

Response

Response