org_permissions
Overview
| Name | org_permissions |
| Type | Resource |
| Id | github.actions.org_permissions |
Fields
| Name | Datatype | Description |
|---|---|---|
allowed_actions | string | The permissions policy that controls the actions and reusable workflows that are allowed to run. |
enabled_repositories | string | The policy that controls the repositories in the organization that are allowed to run GitHub Actions. |
selected_actions_url | string | The 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_url | string | 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. |
Methods
| Name | Accessible by | Required Params | Description |
|---|---|---|---|
get_github_actions_permissions_organization | SELECT | org | Gets 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_organization | EXEC | org, data__enabled_repositories | Sets 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. |