Home / Servers / GitHub API / actions_review_custom_gates_for_run
Review custom deployment protection rules for a workflow run
An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.
Review custom deployment protection rules for a workflow run Approve or reject custom deployment protection rules provided by a GitHub App for a workflow run. For more information, see "Using environments for deployment." > [!NOTE] > GitHub Apps can only… [POST /repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule]
Name on the gateway: github_api__actions_review_custom_gates_for_run · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
owner required | string | The account owner of the repository. The name is not case… |
repo required | string | The name of the repository without the .git extension. The… |
run_id required | integer | The unique identifier of the workflow run. |
environment_name required | string | The name of the environment to approve or reject. |
comment required | string | Comment associated with the pending deployment protection rule. **Required… |
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_review_custom_gates_for_run",
"arguments": {
"owner": "…",
"repo": "…",
"run_id": 0,
"environment_name": "…",
"comment": "…"
}
}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 review custom deployment protection rules for a workflow run tool with owner set to ….