repo scope to use this endpoint. GitHub Apps must have the administration repository permission to use this API.curl --location 'https://service1.exmaple.com/repos///actions/permissions'{
"enabled": true,
"allowed_actions": "selected",
"selected_actions_url": "https://api.github.com/repositories/42/actions/permissions/selected-actions"
}