get_branch_protection
Retrieve branch protection rules to enforce security policies and prevent unauthorized changes in GitHub repositories.
Instructions
Get branch protection rules for a branch.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Repository owner | |
| repo | Yes | Repository name | |
| branch | Yes | Branch name (e.g. 'main') |