actions
Get default workflow permissions for an enterprise
Gets the default workflow permissions granted to the GITHUB_TOKEN when running workflows in an enterprise, as well as whether GitHub Actions can submit approving pull request reviews. For more information, see "Enforcing a policy for workflow permissions in your enterprise."
OAuth tokens and personal access tokens (classic) need the admin:enterprise scope to use this endpoint.
get/enterprises/{enterprise}/actions/permissions/workflow
Path parameters
enterprisestring required
The slug version of the enterprise name.
Response
Success response