actions: Add commit-body-missing check

Check if the commit body is missing use github action.

Signed-off-by: Tim Zhang <tim@hyper.sh>
This commit is contained in:
Tim Zhang 2020-08-13 19:04:16 +08:00
parent d81af48ae5
commit 9f0fef5add

View File

@ -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: