---
title: "Get private repo fork PR workflow settings for a repository"
method: GET
path: "/repos/{owner}/{repo}/actions/permissions/fork-pr-workflows-private-repos"
tags: ["actions"]
---

# Get private repo fork PR workflow settings for a repository

`GET /repos/{owner}/{repo}/actions/permissions/fork-pr-workflows-private-repos`

Gets the settings for whether workflows from fork pull requests can run on a private 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

## Response `200`

Response

- ActionsForkPrWorkflowsPrivateRepos
  - `run_workflows_from_fork_pull_requests` boolean, required — Whether workflows triggered by pull requests from forks are allowed to run on private repositories.
  - `send_write_tokens_to_workflows` boolean, required — Whether GitHub Actions can create pull requests or submit approving pull request reviews from a workflow triggered by a fork pull request.
  - `send_secrets_and_variables` boolean, required — Whether to make secrets and variables available to workflows triggered by pull requests from forks.
  - `require_approval_for_fork_pr_workflows` boolean, required — Whether workflows triggered by pull requests from forks require approval from a repository administrator to run.

## Other responses

- `403` — Forbidden
- `404` — Resource not found

---

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