allowed_actions must be configured to selected. For more information, see "Set GitHub Actions permissions for an enterprise."admin:enterprise scope to use this endpoint.curl --location 'https://service1.exmaple.com/enterprises//actions/permissions/selected-actions'{
"github_owned_allowed": true,
"verified_allowed": false,
"patterns_allowed": [
"monalisa/octocat@*",
"docker/*"
]
}