Skip to content

Github action to enforce Pull Request title conventions

License

Notifications You must be signed in to change notification settings

crowdflux/action-pr-title

 
 

Repository files navigation

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

About

Github action to enforce Pull Request title conventions

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%