v50

latestOpenAPI 3.0.3MITraw.githubusercontent.com2024-01-0382859610.0 MB
actions

Get GitHub Actions permissions for an organization

Gets the GitHub Actions permissions policy for repositories and allowed actions 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.

get/orgs/{org}/actions/permissions

Path parameters

orgstring required

The organization name. The name is not case sensitive.

Response

Response

enabled_repositories'all' | 'none' | 'selected' required

The policy that controls the repositories in the organization that are allowed to run GitHub Actions.

selected_repositories_urlstring

The API URL to use to get or set the selected repositories that are allowed to run GitHub Actions, when enabled_repositories is set to selected.

allowed_actions'all' | 'local_only' | 'selected'

The permissions policy that controls the actions that are allowed to run.

selected_actions_urlstring

The API URL to use to get or set the actions that are allowed to run, when allowed_actions is set to selected.