Home / Servers / GitHub API / actions_set_github_actions_permissions_organization
Set GitHub Actions permissions for an organization
An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.
Set GitHub Actions permissions for an organization Sets the GitHub Actions permissions policy for repositories and allowed actions and reusable workflows in an organization. OAuth app tokens and personal access tokens (classic) need the admin:org… [PUT /orgs/{org}/actions/permissions]
Name on the gateway: github_api__actions_set_github_actions_permissions_organization · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
org required | string | The organization name. The name is not case sensitive. |
enabled_repositories required | all | none | selected | The policy that controls the repositories in the organization that are allowed… |
allowed_actions | all | local_only | selected | The permissions policy that controls the actions and reusable workflows that… |
sha_pinning_required | boolean | Whether actions must be pinned to a full-length commit SHA. |
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_permissions_organization",
"arguments": {
"org": "…",
"enabled_repositories": "…"
}
}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 github actions permissions for an organization tool with org set to ….