mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-29 04:04:45 +00:00
actions: Fix subsystem checking in github-action
The former regex mistakenly count SoB(DCO) as a valid subsystem. This commit will fix this issue. Fixes: #520 Signed-off-by: Tim Zhang <tim@hyper.sh>
This commit is contained in:
parent
2466ac73bb
commit
8c46a41b96
2
.github/workflows/commit-message-check.yaml
vendored
2
.github/workflows/commit-message-check.yaml
vendored
@ -61,6 +61,6 @@ jobs:
|
||||
uses: tim-actions/commit-message-checker-with-regex@v0.3.1
|
||||
with:
|
||||
commits: ${{ steps.get-pr-commits.outputs.commits }}
|
||||
pattern: '^[\h]*([^:\h]+)[\h]*:'
|
||||
pattern: '^[\h]*([^:\h\n]+)[\h]*:'
|
||||
error: 'Failed to find subsystem in subject'
|
||||
post_error: ${{ env.error_msg }}
|
||||
|
Loading…
Reference in New Issue
Block a user