actionsSetForkPrContributorApprovalPermissionsRepository
Set fork PR contributor approval permissions for a repository
PUT /repos/{owner}/{repo}/actions/permissions/fork-pr-contributor-approval HTTP/1.1Parameters
{
"owner": {
"description": "The account owner of the repository. The name is not case sensitive.",
"required": true,
"location": "path",
"type": "string"
},
"repo": {
"description": "The name of the repository without the `.git` extension. The name is not case sensitive.",
"required": true,
"location": "path",
"type": "string"
},
"approval_policy": {
"description": "The policy that controls when fork PR workflows require approval from a maintainer.",
"required": true,
"location": "body",
"type": "string",
"enum": [
"first_time_contributors_new_to_github",
"first_time_contributors",
"all_external_contributors"
]
}
}