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 --request PUT 'https://service1.exmaple.com/enterprises//actions/permissions/selected-actions' \
--header 'Content-Type: application/json' \
--data-raw '{
"github_owned_allowed": true,
"verified_allowed": false,
"patterns_allowed": [
"monalisa/octocat@*",
"docker/*"
]
}'