Skip to main content

org_permissions

Overview

Nameorg_permissions
TypeResource
Idgithub.actions.org_permissions

Fields

NameDatatypeDescription
allowed_actionsstringThe permissions policy that controls the actions and reusable workflows that are allowed to run.
enabled_repositoriesstringThe policy that controls the repositories in the organization that are allowed to run GitHub Actions.
selected_actions_urlstringThe API URL to use to get or set the actions and reusable workflows that are allowed to run, when allowed_actions is set to selected.
selected_repositories_urlstringThe 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.

Methods

NameAccessible byRequired ParamsDescription
get_github_actions_permissions_organizationSELECTorgGets 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.
set_github_actions_permissions_organizationEXECorg, data__enabled_repositoriesSets 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.