Skip to content

Commit

Permalink
chore: Update .github/workflows/semantic-pull-request.yml [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
web-flow authored Mar 2, 2023
1 parent 21018a7 commit 05df4e7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/semantic-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,14 @@ jobs:
refactor
ci
requireScope: false

- name: Check PR title length
env:
TITLE: ${{ github.event.pull_request.title }}
run: |
title_length=${#TITLE}
if [ $title_length -gt 72 ]
then
echo "PR title is too long (greater than 72 characters)"
exit 1
fi

0 comments on commit 05df4e7

Please sign in to comment.