workflow: add (dx) commit category
This commit is contained in:
parent
55a2bc483c
commit
3754233f38
@ -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|wip)(\(.+\))?: .{1,50}/
|
||||
const commitRE = /^(revert: )?(feat|fix|docs|dx|style|refactor|perf|test|workflow|build|ci|chore|types|wip)(\(.+\))?: .{1,50}/
|
||||
|
||||
if (!commitRE.test(msg)) {
|
||||
console.log()
|
||||
|
Loading…
Reference in New Issue
Block a user