Github API

Getting access, Developing, Testing

Back to Github

Set GitHub Actions permissions for an organization

Sets the GitHub Actions permissions policy for repositories and allowed actions and reusable workflows in 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. required: - org title: Parameters data: type: object properties: enabled_repositories: type: string description: >- The policy that controls the repositories in the organization that are allowed to run GitHub Actions. enum: - all - none - selected allowed_actions: type: string description: >- The permissions policy that controls the actions and reusable workflows that are allowed to run. enum: - all - local_only - selected title: Data