github_get_branch_protection
Retrieve GitHub branch protection rules for a repository, providing visibility into protected branches and required checks through a governed connector.
Instructions
Github connector operation get_branch_protection (platform tool github.get_branch_protection).
Routes only through the exact project/account governed connector authority.
Args: arguments: JSON string of arguments for the connector operation. project_id: Authenticated Project UUID. project_ref: Exact project correlation reference. connector_account_ref: Project-bound connector account alias. idempotency_key: Stable business-action identity. effect: Required and must be read; Spring verifies it. approval_ref: Approved platform task UUID when resuming a write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| effect | Yes | ||
| arguments | No | {} | |
| project_id | No | ||
| project_ref | No | ||
| approval_ref | No | ||
| idempotency_key | No | ||
| connector_account_ref | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |