allowed_actions
Overview
Name | allowed_actions |
Type | Resource |
Id | github.enterprise_admin.allowed_actions |
Fields
Name | Datatype | Description |
---|---|---|
patterns_allowed | array | Specifies 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_allowed | boolean | Whether actions in GitHub Marketplace from verified creators are allowed. Set to true to allow all GitHub Marketplace actions by verified creators. |
github_owned_allowed | boolean | Whether GitHub-owned actions are allowed. For example, this includes the actions in the actions organization. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get_allowed_actions_enterprise | SELECT | enterprise | Gets 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_enterprise | EXEC | enterprise | Sets 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. |