GITHUB_TOKEN when running workflows in an organization,admin:org scope to use this endpoint. GitHub Apps must have the administration organization permission to use this API.curl --location --request GET 'https://api.github.com/orgs//actions/permissions/workflow'{
"can_approve_pull_request_reviews": true,
"default_workflow_permissions": "read"
}