PR Title Verify
ActionsTags
(2)GitHub action to check if a pull request title matches a regex pattern.
Please refer to action definition and the following example workflow.
More information about pattern
and flags
can be found in the
JavaScript reference.
flags
is optional and defaults to gm
.
pattern
is optional and defaults to conventional commit regex pattern.
name: 'PR Title Check'
on:
pull_request:
types:
- opened
- edited
- synchronize
- labeled
- unlabeled
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: PR Title Verify
uses: satvik-s/pr-title-check
with:
pattern: '(fix|feat|chore|docs|style|refactor|perf|test): (?:\w+\b\W*){3,8}$'
This project is released under the terms of the MIT License
PR Title Verify is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.