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 'https://service1.exmaple.com/repos///actions/permissions/selected-actions'{
"github_owned_allowed": true,
"verified_allowed": false,
"patterns_allowed": [
"monalisa/octocat@*",
"docker/*"
]
}