Skip to content

Commit

Permalink
chore: add PR title check workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mpro7 committed Nov 10, 2023
1 parent 1c729f1 commit 15c3442
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/check-pr-title.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 15c3442

Please sign in to comment.