get_branch_protection
Retrieve the branch protection configuration for a repository branch. Returns a 404 status if the branch is unprotected, enabling verification of protection rules.
Instructions
Get the branch-protection configuration for a branch (404 -> unprotected).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| owner | Yes | ||
| branch | No | main |