From 3bafafec58ec5d124483a839e59b33d568e5b86f Mon Sep 17 00:00:00 2001 From: Peng Tao Date: Wed, 6 Jul 2022 11:14:27 +0800 Subject: [PATCH] action: extend commit message line limit to 150 bytes So that we can add move info there and few people use such small terminals nowadays. Fixes: #4596 Signed-off-by: Peng Tao --- .github/workflows/commit-message-check.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/commit-message-check.yaml b/.github/workflows/commit-message-check.yaml index fec12ac1dd..fbdb02b6df 100644 --- a/.github/workflows/commit-message-check.yaml +++ b/.github/workflows/commit-message-check.yaml @@ -75,8 +75,8 @@ jobs: # # - A SoB comment can be any length (as it is unreasonable to penalise # people with long names/email addresses :) - pattern: '^.+(\n([a-zA-Z].{0,72}|[^a-zA-Z\n].*|[^\s\n]*|Signed-off-by:.*|))+$' - error: 'Body line too long (max 72)' + pattern: '^.+(\n([a-zA-Z].{0,150}|[^a-zA-Z\n].*|[^\s\n]*|Signed-off-by:.*|))+$' + error: 'Body line too long (max 150)' post_error: ${{ env.error_msg }} - name: Check Fixes