From 1151c7f730e90c324268d37bddfa54eecc542a79 Mon Sep 17 00:00:00 2001 From: Evan You Date: Wed, 19 Sep 2018 23:19:12 -0400 Subject: [PATCH] workflow: allow wip commit type --- scripts/verifyCommit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/verifyCommit.js b/scripts/verifyCommit.js index 1c704f07..97d5386d 100644 --- a/scripts/verifyCommit.js +++ b/scripts/verifyCommit.js @@ -6,7 +6,7 @@ const msg = require('fs') .readFileSync(msgPath, 'utf-8') .trim() -const commitRE = /^(revert: )?(feat|fix|docs|style|refactor|perf|test|workflow|build|ci|chore|types)(\(.+\))?: .{1,50}/ +const commitRE = /^(revert: )?(feat|fix|docs|style|refactor|perf|test|workflow|build|ci|chore|types|wip)(\(.+\))?: .{1,50}/ if (!commitRE.test(msg)) { console.log()