v56

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-011,4581,08113.3 MB
enterprise-admin

Set fork PR contributor approval permissions for an enterprise

Sets the fork PR contributor approval policy for an enterprise.

put/enterprises/{enterprise}/actions/permissions/fork-pr-contributor-approval

Path parameters

enterprisestring required

The slug version of the enterprise name.

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