We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f74a758 commit d3c6575Copy full SHA for d3c6575
scripts/verifyCommitMsg.js
@@ -2,7 +2,7 @@ const chalk = require('chalk') // eslint-disable-line
2
const msgPath = process.env.GIT_PARAMS
3
const msg = require('fs').readFileSync(msgPath, 'utf-8').trim()
4
5
-const commitRE = /^(v\d+\.\d+\.\d+(-(alpha|beta|rc.\d+))?$)|((revert: )?(feat|fix|docs|style|refactor|perf|test|workflow|ci|chore|types)(\(.+\))?: .{1,50})/
+const commitRE = /^(v\d+\.\d+\.\d+(-(alpha|beta|rc.\d+))?$)|((revert: )?(feat|fix|docs|style|refactor|perf|test|workflow|ci|chore|types|build)(\(.+\))?: .{1,50})/
6
7
if (!commitRE.test(msg)) {
8
console.log()
0 commit comments