You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by wa...@apache.org on 2022/09/07 07:18:23 UTC
[incubator-devlake] branch main updated: Modify commit msg lint (#2997)
This is an automated email from the ASF dual-hosted git repository.
warren pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/main by this push:
new 30034917 Modify commit msg lint (#2997)
30034917 is described below
commit 30034917c31ed60a85e2f11be5dbdc2717304fbd
Author: Warren Chen <yi...@merico.dev>
AuthorDate: Wed Sep 7 15:18:18 2022 +0800
Modify commit msg lint (#2997)
* chore(lint): modify commit msg form
* style(lint): commit msg
closes #2996
---
.github/workflows/commit-msg.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/commit-msg.yml b/.github/workflows/commit-msg.yml
index 0f27704a..b5898a30 100644
--- a/.github/workflows/commit-msg.yml
+++ b/.github/workflows/commit-msg.yml
@@ -36,4 +36,4 @@ jobs:
run: |
! git log --oneline ${{ github.event.pull_request.base.sha }}... \
| grep -vP '^\w{8} Merge ' \
- | grep -vP '^\w{8} (feat|fix|build|chore|docs|style|refactor|perf|test|ci)(\(\w+\))?: \w'
+ | grep -vP '^\w{8} (feat|fix|build|chore|docs|style|refactor|perf|test|ci)(\(\w+(-\w+)?\))?:(\s*).*'