---
title: "Get private repo fork PR workflow settings for an enterprise"
method: GET
path: "/enterprises/{enterprise}/actions/permissions/fork-pr-workflows-private-repos"
tags: ["enterprise-admin"]
---

# Get private repo fork PR workflow settings for an enterprise

`GET /enterprises/{enterprise}/actions/permissions/fork-pr-workflows-private-repos`

Gets the settings for whether workflows from fork pull requests can run on private repositories in an enterprise.

## Path parameters

- `enterprise` 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

- `404` — Resource not found

---

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