Skip to content

vish-devs/branch-validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github Action

Features
  • Fetches branch name as output
  • Validates the branch naming convention with /(^(feature|bugfix|hotfix)\/(LSP|CB)-[0-9]{1,5}\/[0-9a-zA-Z_-]+$)|(^(development|staging|production|qa|labs)$)/;
Usage
rules:
    name: Rules
    runs-on: ubuntu-latest
    steps:
      - name: Fetch Branch Name
        uses: aptyInc/gha-branch-name@0.1.0
        id: branch
      - name: Print branch Name
        run: echo "${{steps.branch.outputs.branch_name}}"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors