From 8451c622eff1f257bd45af12938478ce96c8283a Mon Sep 17 00:00:00 2001 From: Jarek Kowalski Date: Sun, 23 Jan 2022 12:20:00 -0800 Subject: [PATCH] chore(ci): enforce pull request titles using deepakputhraya/action-pr-title (#1676) --- .github/workflows/check-pr-title.yml | 12 ++++++++++++ 1 file changed, 12 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..6e09f8e17 --- /dev/null +++ b/.github/workflows/check-pr-title.yml @@ -0,0 +1,12 @@ +name: Check PR Title +on: + pull_request: + types: [opened, edited, synchronize, reopened] +jobs: + check: + name: Check PR Title + runs-on: ubuntu-latest + steps: + - uses: deepakputhraya/action-pr-title@master + with: + regex: '^(feat|fix|breaking|build|chore|docs|style|refactor|test)\((app|cli|ui|repository|server|providers|deps|site|ci|infra|general)\)!{0,1}: .*$'