workflow: allow wip commit type

This commit is contained in:
Evan You 2018-09-19 23:19:12 -04:00
parent 2e9a342652
commit 1151c7f730

View File

@ -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()