{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Sets the fork PR contributor approval policy for an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.","properties":{"path":{"type":"object","properties":{"org":{"type":"string","description":"The organization name. The name is not case sensitive."}},"required":["org"],"additionalProperties":false},"body":{"$ref":"#/definitions/actions-fork-pr-contributor-approval","examples":[{"approval_policy":"first_time_contributors"}]}},"required":["path","body"],"additionalProperties":false,"definitions":{"actions-fork-pr-contributor-approval":{"type":"object","properties":{"approval_policy":{"type":"string","enum":["first_time_contributors_new_to_github","first_time_contributors","all_external_contributors"],"description":"The policy that controls when fork PR workflows require approval from a maintainer."}},"required":["approval_policy"]}}},"name":"Set fork PR contributor approval permissions for an organization","id":"github.actions.set-fork-pr-contributor-approval-permissions-organization","example":{"path":{"org":"example"},"body":{"approval_policy":"first_time_contributors_new_to_github"}},"maxRequests":1,"summary":false}}