Skip to main content

allowed_actions

Overview

Nameallowed_actions
TypeResource
Idgithub.enterprise_admin.allowed_actions

Fields

NameDatatypeDescription
patterns_allowedarraySpecifies a list of string-matching patterns to allow specific action(s). Wildcards, tags, and SHAs are allowed. For example, monalisa/octocat@*, monalisa/octocat@v2, monalisa/*."
verified_allowedbooleanWhether actions in GitHub Marketplace from verified creators are allowed. Set to true to allow all GitHub Marketplace actions by verified creators.
github_owned_allowedbooleanWhether GitHub-owned actions are allowed. For example, this includes the actions in the actions organization.

Methods

NameAccessible byRequired ParamsDescription
get_allowed_actions_enterpriseSELECTenterpriseGets the selected actions that are allowed in an enterprise. To use this endpoint, the enterprise permission policy for allowed_actions must be configured to selected. For more information, see "Set GitHub Actions permissions for an enterprise."

You must authenticate using an access token with the admin:enterprise scope to use this endpoint.
set_allowed_actions_enterpriseEXECenterpriseSets the actions that are allowed in an enterprise. To use this endpoint, the enterprise permission policy for allowed_actions must be configured to selected. For more information, see "Set GitHub Actions permissions for an enterprise."

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