v68

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-011,21696712.3 MB
actions

Set fork PR contributor approval permissions for an organization

Sets the fork PR contributor approval policy for an organization.

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

put/orgs/{org}/actions/permissions/fork-pr-contributor-approval

Path parameters

orgstring required

The organization name. The name is not case sensitive.

Request body

approval_policy'first_time_contributors_new_to_github' | 'first_time_contributors' | 'all_external_contributors' required

The policy that controls when fork PR workflows require approval from a maintainer.

Response

Response