From 2e22fe399c18767e1058d4c3c481609e17907446 Mon Sep 17 00:00:00 2001 From: dylanhuang Date: Mon, 22 Aug 2022 11:25:31 +0800 Subject: [PATCH] ci: fix the pattern of commit lint (#1063) --- .github/commitlint.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/commitlint.config.js b/.github/commitlint.config.js index 98012d28b0..ee22a331bc 100644 --- a/.github/commitlint.config.js +++ b/.github/commitlint.config.js @@ -22,7 +22,7 @@ const validateTypeNums = (parsedCommit) => { module.exports = { parserPreset: { parserOpts: { - headerPattern: /^(.*): .*/, + headerPattern: /^(.*):.*/, } }, extends: ['@commitlint/config-conventional'],