repo
scope to use this endpoint. GitHub Apps must have the administration
repository permission to use this API.curl --location --request PUT 'https://api.github.com/repos///actions/permissions' \
--header 'Content-Type: application/json' \
--data-raw '{
"allowed_actions": "selected",
"enabled": true
}'
{}