Skip to content
play

GitHub Action

@namnh240795/verify-branch-name-action

v1.1.2 Latest version

@namnh240795/verify-branch-name-action

play

@namnh240795/verify-branch-name-action

Verify branch name follow a certain rule

Installation

Copy and paste the following snippet into your .yml file.

              

- name: @namnh240795/verify-branch-name-action

uses: namnh240795/verify-branch-name-action@v1.1.2

Learn more about this action in namnh240795/verify-branch-name-action

Choose a version

Inputs

regex

Required Branch Regex

Outputs

pass

Commit lint pass or not

Example usage

verify-branch-name:
    name: Verify Branch Name
    runs-on: ubuntu-latest
    steps:
        - uses: namnh240795/verify-branch-name-action@v1.1.1
            with:
                regex: production