mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-29 04:04:45 +00:00
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:
parent
d81af48ae5
commit
9f0fef5add
6
.github/workflows/commit-message-check.yaml
vendored
6
.github/workflows/commit-message-check.yaml
vendored
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user