allowed_actions must be configured to selected. For more information, see "Set GitHub Actions permissions for a repository."repo scope to use this endpoint. GitHub Apps must have the administration repository permission to use this API.curl --location --request GET 'https://api.github.com/repos///actions/permissions/selected-actions'{
"github_owned_allowed": true,
"patterns_allowed": [
"string"
],
"verified_allowed": true
}