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 f72604a commit 50355c4Copy full SHA for 50355c4
packages/commit-helper/src/constant.ts
@@ -2,7 +2,8 @@ export const ISSUE_TAGGING_MAP = {
2
repo: null,
3
feature: null,
4
} as const
5
+
6
export const ISSUE_TAGGING_REGEX = /\[(?:[A-Za-z-_]+\/)?[A-Za-z-_]*#\d{1,5}\]/
7
export const BRANCH_ISSUE_TAGGING_REGEX = /[A-Za-z-]+\/\d{1,5}([-_a-zA-Z]+[0-9]*)*$/
8
export const PURE_BRANCH_ISSUE_TAGGING_REGEX = /[A-Za-z-]+\/\d{1,5}/
-export const DEFAULT_PROTECTED_BRANCHES: Readonly<string[]> = ['main', 'master', 'develop']
9
+export const DEFAULT_PROTECTED_BRANCHES: Readonly<string[]> = ['main']
0 commit comments