actions-marketplace-validations/Branch Name
Write a comment in the PR if your branch is not following a predefined pattern
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit May 10, 2020
- License
- MIT
Pinned Snippet
uses: actions-marketplace-validations/alberthernandez_branch-name-action@106d820c9f9275a7d0f8cf3d4ef637a46bb7b4ba # no releases — HEAD as of 2026-07-15tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| branch_pattern | Pattern that should follow the names of the branches | yes | — |
| comment_for_invalid_branch_name | Comment that will be written if the branch name does not follow the branch pattern | no | — |
| fail_if_invalid_branch_name | If its true the the action will fail if the branch does not follow the branch pattern | no | — |
| ignore_branch_pattern | Pattern of the branches names where this action will be no executed | no | — |
Outputs
no outputs