Skip to content

Releases: deepakputhraya/action-pr-title

v1.0.2 - Bug fix disallowed_prefixes

25 Mar 11:14
3864beb
Compare
Choose a tag to compare

Fix disallowed_prefixes not working as expected.
The YAML changes are backwards compatible with previous versions. Users can safely upgrade to this version from v1.0.0.

v1.0.1 - Support Disallow prefixes & Bug fix

03 Oct 12:43
c21a28d
Compare
Choose a tag to compare

Changes

  1. We have added support for disallowed_prefixes. This is the opposite of allowed_prefixes. The configuration is similar to allowed_prefixes.
  2. Fixed the issue with action not using latest PR title in checks.

The new configuration looks like this -

steps:
- uses: deepakputhraya/action-pr-title@master
  with:
    regex: '([a-z])+\/([a-z])+' # Regex the title should match.
    allowed_prefixes: 'feature,fix,JIRA' # title should start with the given prefix
    disallowed_prefixes: 'feat/,hotfix' # title should not 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
    github_token: ${{ github.token }} # Default: ${{ github.token }}

The YAML changes are backwards compatible with previous versions. Users can safely upgrade to this version from v1.0.0.

v1.0.0 Github action with basic rules to enforce convention on Pull Request title

06 Nov 09:45
61d8901
Compare
Choose a tag to compare

Pull request title rules include

  • Regex match
  • Prefix matching
  • Min & Max title size