actions-marketplace-validations/Clean Branch Name
Sanitizes and trims a branch name
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| branch | override the input branch name (will default to the branch the action is running in if not provided) | no | — |
| max-length | ensure that branches are never longer than this length by truncating them | no | — |
| remove-trailing-dash | removes a trailing dash from a branch name | no | true |
| lowercase | make the branch name lowercase | no | true |
Outputs
| name | description |
|---|---|
| name | the cleaned branch name |
| raw_branch_input | the input branch name |