Skip to content

prajithp13/branch-name-validator-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Branch Name Validator

A Github action that verify the current branch name

Usage

name: Coverage Check
on:
  pull_request:
    branches: [main]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Validate branch name
        uses: prajithp13/branch-name-validator-action@master
        with:
          branches: |
            '^main$'
            '^master$'

Inputs

Name Required Description Default
branches false Multi line Regex pattern master, main, hotix/.*

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published