Skip to content

Slidem/branch-name-normalizer

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Branch name normalizer

Simple action that normalizez the current branch name into a string with only lowercase alphanumerical values, separated by hiphens. Example: For the branch name: Alex/A-Simple-pr. Output: alex-a-simple-pr

Inputs:

  • branch_name:
    • default: $GITHUB_HEAD_REF
    • required: false
  • max_length:
    • default: 40
    • required: false

Output:

  • normalized