GITHUB_TOKEN when running workflows in an enterprise, and setsadmin:enterprise scope to use this endpoint.curl --location --request PUT 'https://service1.exmaple.com/enterprises//actions/permissions/workflow' \
--header 'Content-Type: application/json' \
--data '{
"default_workflow_permissions": "read",
"can_approve_pull_request_reviews": true
}'