Skip to content

Commit 5e6110f

Browse files
authored
refactor: correctly validate for default github created branch names (#139)
1 parent 37ddb50 commit 5e6110f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"prepare": "node -e \"try { require('husky').install() } catch (e) {}\""
5050
},
5151
"validate-branch-name": {
52-
"pattern": "((dbux-3)|(dependabot-)|^((test|feat|fix|chore|docs|refactor|style|ci|perf)\\-[a-zA-Z0-9\\-]+)$)",
52+
"pattern": "((dbux-3)|(dependabot-)|^((test|feat|fix|chore|docs|refactor|style|ci|perf|[0-9]+)\\-[a-zA-Z0-9\\-]+)$)",
5353
"errorMsg": "There is something wrong with your branch name. You should rename your branch to a valid name and try again. See the Pattern below."
5454
},
5555
"keywords": [],

0 commit comments

Comments
 (0)