---
title: "Set fork PR contributor approval permissions for a repository"
method: PUT
path: "/repos/{owner}/{repo}/actions/permissions/fork-pr-contributor-approval"
tags: ["actions"]
---

# Set fork PR contributor approval permissions for a repository

`PUT /repos/{owner}/{repo}/actions/permissions/fork-pr-contributor-approval`

Sets the fork PR contributor approval policy for a repository.

OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.

## Path parameters

- `owner` string, required
- `repo` string, required

## Request body

- ActionsForkPrContributorApproval
  - `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 `204`

Response

## Other responses

- `404` — Resource not found
- `422` — Validation failed, or the endpoint has been spammed.

---

[API](https://skmtc.net/github/apis/rest-api.md) · [All operations](https://skmtc.net/github/apis/rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/rest-api/versions/80850db290cd/schema)
