Skip to content
This repository was archived by the owner on Jul 21, 2023. It is now read-only.

Commit 1652c6c

Browse files
authored
chore: Update .github/workflows/semantic-pull-request.yml [skip ci]
1 parent ea13c2a commit 1652c6c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/semantic-pull-request.yml

+11
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,14 @@ jobs:
2727
refactor
2828
ci
2929
requireScope: false
30+
31+
- name: Check PR title length
32+
env:
33+
TITLE: ${{ github.event.pull_request.title }}
34+
run: |
35+
title_length=${#TITLE}
36+
if [ $title_length -gt 72 ]
37+
then
38+
echo "PR title is too long (greater than 72 characters)"
39+
exit 1
40+
fi

0 commit comments

Comments
 (0)