default_workflow_permissions
Overview
Name | default_workflow_permissions |
Type | Resource |
Id | github.actions.default_workflow_permissions |
Fields
Name | Datatype | Description |
---|---|---|
can_approve_pull_request_reviews | boolean | Whether GitHub Actions can submit approving pull request reviews. |
default_workflow_permissions | string | The default workflow permissions granted to the GITHUB_TOKEN when running workflows in an organization. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get_github_actions_default_workflow_permissions_organization | SELECT | org | Gets the default workflow permissions granted to the GITHUB_TOKEN when running workflows in an organization,as well if GitHub Actions can submit approving pull request reviews. 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_default_workflow_permissions_organization | EXEC | org | Sets the default workflow permissions granted to the GITHUB_TOKEN when running workflows in an organization, and sets if GitHub Actionscan submit approving pull request reviews. 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. |