v50

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

Set repository access for a self-hosted runner group in an organization

Replaces the list of repositories that have access to a self-hosted runner group configured in an organization.

OAuth app 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

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.

Request body

selected_repository_idsinteger[] required

List of repository IDs that can access the runner group.

Response

Response