From 9f0fef5add10f3b73028baffada0e5fc593f8e5c Mon Sep 17 00:00:00 2001 From: Tim Zhang Date: Thu, 13 Aug 2020 19:04:16 +0800 Subject: [PATCH] actions: Add commit-body-missing check Check if the commit body is missing use github action. Signed-off-by: Tim Zhang --- .github/workflows/commit-message-check.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/commit-message-check.yaml b/.github/workflows/commit-message-check.yaml index f5cb79d964..8cb4bc4583 100644 --- a/.github/workflows/commit-message-check.yaml +++ b/.github/workflows/commit-message-check.yaml @@ -28,6 +28,12 @@ jobs: with: commits: ${{ steps.get-pr-commits.outputs.commits }} + - name: Commit Body Missing Check + if: ${{ success() || failure() }} + uses: tim-actions/commit-body-check@v1.0.2 + with: + commits: ${{ steps.get-pr-commits.outputs.commits }} + - name: Check Subject Line Length uses: tim-actions/commit-message-checker-with-regex@v0.3.1 with: