Skip to main content

actions_permissions

Overview

Nameactions_permissions
TypeResource
Idgithub.enterprise_admin.actions_permissions

Fields

NameDatatypeDescription
selected_organizations_urlstringThe API URL to use to get or set the selected organizations that are allowed to run GitHub Actions, when enabled_organizations is set to selected.
allowed_actionsstringThe permissions policy that controls the actions that are allowed to run. Can be one of: all, local_only, or selected.
enabled_organizationsstringThe policy that controls the organizations in the enterprise that are allowed to run GitHub Actions. Can be one of: all, none, or selected.
selected_actions_urlstringThe API URL to use to get or set the actions that are allowed to run, when allowed_actions is set to selected.

Methods

NameAccessible byRequired ParamsDescription
get_github_actions_permissions_enterpriseSELECTenterpriseGets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise.

You must authenticate using an access token with the admin:enterprise scope to use this endpoint.
set_github_actions_permissions_enterpriseEXECenterprise, data__enabled_organizationsSets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise.

You must authenticate using an access token with the admin:enterprise scope to use this endpoint.