Github API

Getting access, Developing, Testing

Back to Github

Enable a selected repository for GitHub Actions in an organization

Adds a repository to the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for enabled_repositories must be must be configured to selected. For more information, see "Set GitHub Actions permissions for an organization."

You must authenticate using an access token with the admin:org scope to use this endpoint. GitHub Apps must have the administration organization permission to use this API.

Input

type: object properties: parameters: type: object properties: org: type: string description: The organization name. The name is not case sensitive. repository_id: type: integer description: The unique identifier of the repository. required: - org - repository_id title: Parameters