v56

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

Set private repo fork PR workflow settings for an organization

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

put/orgs/{org}/actions/permissions/fork-pr-workflows-private-repos

Path parameters

orgstring required

The organization name. The name is not case sensitive.

Request body

run_workflows_from_fork_pull_requestsboolean required

Whether workflows triggered by pull requests from forks are allowed to run on private repositories.

send_write_tokens_to_workflowsboolean

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_variablesboolean

Whether to make secrets and variables available to workflows triggered by pull requests from forks.

require_approval_for_fork_pr_workflowsboolean

Whether workflows triggered by pull requests from forks require approval from a repository administrator to run.

Response

Empty response for successful settings update