mforutan / action-pr-title

Github action to enforce Pull Request title conventions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Branch naming rules

GitHub Actions status

Github action to enforce Pull Request title conventions

Usage

See action.yml

steps:
- uses: deepakputhraya/action-pr-title@master
  with:
    regex: '([a-z])+\/([a-z])+' # Regex the title should match.
    allowed_prefixes: 'feature,stable,fix' # title should start with the given prefix
    prefix_case_sensitive: false # title prefix are case insensitive
    min_length: 5 # Min length of the title
    max_length: 20 # Max length of the title
    token: '' # Default: ${{ github.token }}

License

The scripts and documentation in this project are released under the MIT License

About

Github action to enforce Pull Request title conventions

License:MIT License


Languages

Language:JavaScript 100.0%