walkerbel92/Create Protected Branch
Create branches with optional protection, validation, and PR generation
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| repository | Target repository (owner/repo format) | yes | — |
| branch_name | Name of the new branch | yes | — |
| base_branch | Base branch to create from | no | main |
| protection_level | Branch protection level: basic, strict, development | no | basic |
| validate_convention | Enforce branch naming conventions | no | true |
| create_pr | Create initial pull request | no | false |
| description | Branch/PR description | no | — |
| labels | Labels to assign (comma-separated) | no | — |
| notify_user | GitHub user to mention in PR | no | — |
| auto_unprotect_days | Auto-remove protection after X days (0 = never) | no | 0 |
Outputs
| name | description |
|---|---|
| branch_url | URL to the created branch |
| pr_url | URL to the created PR (if applicable) |
| protection_status | Whether branch protection was applied |
| message | Operation result message |