list_protected_branches
List branch-protection rules for a project, including force-push flags. Use to audit which branches are protected and enforce CI/CD governance.
Instructions
[READ] Branch-protection rules for a project (incl. force-push flags).
Returns {project, protections:[...], returned, limit, truncated}.
Args: project: Project id or full path. limit: Max rows to return (default 100). target: Server target name from config; omit for the default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| target | No | ||
| project | Yes |