Home / Servers / GitHub API / actions_set_private_repo_fork_pr_workflows_settings_organiza

Set private repo fork PR workflow settings for an organization

An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.

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]

Name on the gateway: github_api__actions_set_private_repo_fork_pr_workflows_settings_organiza · may change things.

Parameters

NameTypeDescription
org requiredstringThe organization name. The name is not case sensitive.
run_workflows_from_fork_pull_requests requiredbooleanWhether workflows triggered by pull requests from forks are allowed to run on…
send_write_tokens_to_workflowsbooleanWhether GitHub Actions can create pull requests or submit approving pull…
send_secrets_and_variablesbooleanWhether to make secrets and variables available to workflows triggered by pull…
require_approval_for_fork_pr_workflowsbooleanWhether workflows triggered by pull requests from forks require approval from…

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "github_api__actions_set_private_repo_fork_pr_workflows_settings_organiza",
  "arguments": {
    "org": "…",
    "run_workflows_from_fork_pull_requests": true
  }
}

Or connect the GitHub API server directly, which lists 1,221 tools including this one:

Run in your terminal
claude mcp add --transport http hj-github-api https://mcp.hjlabs.in/mcp/github-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the set private repo fork pr workflow settings for an organization tool with org set to ….

More from GitHub API