Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 724 Bytes

Readme.md

File metadata and controls

22 lines (17 loc) · 724 Bytes

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

License

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