From b0065b874068be535e61da0fc7360239e37971ed Mon Sep 17 00:00:00 2001 From: Marcin Procyk Date: Fri, 10 Nov 2023 10:21:50 +0100 Subject: [PATCH] chore: add PR title check workflow (#578) --- .github/workflows/check-pr-title.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/check-pr-title.yml 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