diff --git a/.github/workflows/check-pr-title.yml b/.github/workflows/check-pr-title.yml new file mode 100644 index 000000000..23d548db2 --- /dev/null +++ b/.github/workflows/check-pr-title.yml @@ -0,0 +1,15 @@ +name: PR Title + +on: + pull_request: + types: [opened, edited, synchronize, reopened] + +jobs: + test: + name: Check PR Title + runs-on: ubuntu-latest + steps: + - uses: deepakputhraya/action-pr-title@master + with: + regex: '^(chore|docs|feat|fix|perf|refactor|style|test|)(\(.+\))?!?: .+$' + max_length: 140