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
}
actions
organization.monalisa/octocat@*
, monalisa/octocat@v2
, monalisa/*
.patterns_allowed
setting only applies to public repositories.true
to allow all actions by GitHub Marketplace verified creators.