Skip to main content

default_workflow_permissions

Overview

Namedefault_workflow_permissions
TypeResource
Idgithub.actions.default_workflow_permissions

Fields

NameDatatypeDescription
can_approve_pull_request_reviewsbooleanWhether GitHub Actions can submit approving pull request reviews.
default_workflow_permissionsstringThe default workflow permissions granted to the GITHUB_TOKEN when running workflows in an organization.

Methods

NameAccessible byRequired ParamsDescription
get_github_actions_default_workflow_permissions_organizationSELECTorgGets 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_organizationEXECorgSets the default workflow permissions granted to the GITHUB_TOKEN when running workflows in an organization, and sets 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.