Releases: deepakputhraya/action-pr-title
Releases · deepakputhraya/action-pr-title
v1.0.2 - Bug fix disallowed_prefixes
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
Changes
- We have added support for
disallowed_prefixes
. This is the opposite ofallowed_prefixes
. The configuration is similar toallowed_prefixes
. - 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
Pull request title rules include
- Regex match
- Prefix matching
- Min & Max title size