GITHUB_TOKEN
when running workflows in an organization, and sets if GitHub Actionsadmin:org
scope to use this endpoint. GitHub Apps must have the administration
organization permission to use this API.curl --location --request PUT 'https://api.github.com/orgs//actions/permissions/workflow' \
--header 'Content-Type: application/json' \
--data-raw '{
"can_approve_pull_request_reviews": true,
"default_workflow_permissions": "read"
}'
{}