Skip to content

Normalize branch name

Actions
Normalizes the branch into an
v1.0.0
Latest
Star (1)

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

Normalize branch name is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Normalizes the branch into an
v1.0.0
Latest

Normalize branch name is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.