Set Org Fork Pr Approval Tool
set_org_fork_pr_approval_toolConfigure which outside contributors must be approved before fork pull request workflows run, choosing first-time or all external contributors.
Instructions
Set which outside contributors need approval before fork PRs run workflows.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"org": "<org>",
"approval_policy": "<approval_policy>"
},
"name": "set_org_fork_pr_approval_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | Yes | Organization name | |
| approval_policy | Yes | first_time_contributors_new_to_github, first_time_contributors, or all_external_contributors (every outside contributor needs approval) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||