actions-marketplace-validations/Branch name rules
Github action to enforce naming convention on branch names
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Aug 19, 2022
- License
- MIT
- Runtime
- Deprecated runtime
Pinned Snippet
uses: actions-marketplace-validations/deepakputhraya_action-branch-name@5f1cc199284b75145ec2d13434422e6987cf6af8 # no releases — HEAD as of 2026-07-15tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| regex | Regex to validate the branch name | — | "" |
| allowed_prefixes | Comma separated list of prefix that must be used in every branch. eg: feature,hotfix,JIRA- | — | "" |
| ignore | Comma separated list of branch names to ignore. eg: master,develop | — | master |
| min_length | Min length of branch name | — | 1 |
| max_length | Max length of branch name. -1 to ignore the rule | — | -1 |
Outputs
no outputs