actions-marketplace-validations/Clean Branch Name

Sanitizes and trims a branch name

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
branchoverride the input branch name (will default to the branch the action is running in if not provided)no
max-lengthensure that branches are never longer than this length by truncating themno
remove-trailing-dashremoves a trailing dash from a branch namenotrue
lowercasemake the branch name lowercasenotrue
namedescription
namethe cleaned branch name
raw_branch_inputthe input branch name