Home / Servers / GitHub API / actions_set_github_actions_default_workflow_permissions_orga
Set default workflow permissions for an organization
An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.
Set default workflow permissions for an organization Sets the default workflow permissions granted to the GITHUB_TOKEN when running workflows in an organization, and sets if GitHub Actions can submit approving pull request reviews. For more… [PUT /orgs/{org}/actions/permissions/workflow]
Name on the gateway: github_api__actions_set_github_actions_default_workflow_permissions_orga · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
org required | string | The organization name. The name is not case sensitive. |
default_workflow_permissions | read | write | The default workflow permissions granted to the GITHUB_TOKEN when running… |
can_approve_pull_request_reviews | boolean | Whether GitHub Actions can approve pull requests. Enabling this can be a… |
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:
{
"name": "github_api__actions_set_github_actions_default_workflow_permissions_orga",
"arguments": {
"org": "…"
}
}Or connect the GitHub API server directly, which lists 1,221 tools including this one:
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 default workflow permissions for an organization tool with org set to ….