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

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 b77a0ba commit df03e8d
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 df03e8d

Please sign in to comment.