From 1a3861fd7c76a8fa296ff3aad39de633aecf3570 Mon Sep 17 00:00:00 2001 From: GitHub Date: Thu, 2 Mar 2023 09:50:42 +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