gitee_create_branch_protection_rule
Create branch protection rules using wildcard patterns to enforce push and merge restrictions on matching branches.
Instructions
Create branch protection rule (wildcard)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Repository owner (user/org/enterprise path) | |
| repo | Yes | Repository path name | |
| wildcard | Yes | Branch pattern (e.g. feature/*) | |
| new_wildcard | No | Rename wildcard | |
| pusher_restriction | No | Restrict push: 0=off,1=admin,2=team | |
| merger_restriction | No | Restrict merge: 0=off,1=admin,2=team |