From 1b96837cac6c9625ed243d0f62595582a57f7f04 Mon Sep 17 00:00:00 2001 From: GitHub Date: Thu, 2 Mar 2023 09:50:43 +0000 Subject: [PATCH] chore: Update .github/workflows/semantic-pull-request.yml [skip ci] --- .github/workflows/semantic-pull-request.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/semantic-pull-request.yml b/.github/workflows/semantic-pull-request.yml index 6ce44e57f6..0324e0bd42 100644 --- a/.github/workflows/semantic-pull-request.yml +++ b/.github/workflows/semantic-pull-request.yml @@ -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