Skip to content

Commit 50355c4

Browse files
🛠️ 상수 수정: DEFAULT_PROTECTED_BRANCHES에서 'master'와 'develop' 제거
1 parent f72604a commit 50355c4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/commit-helper/src/constant.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ export const ISSUE_TAGGING_MAP = {
22
repo: null,
33
feature: null,
44
} as const
5+
56
export const ISSUE_TAGGING_REGEX = /\[(?:[A-Za-z-_]+\/)?[A-Za-z-_]*#\d{1,5}\]/
67
export const BRANCH_ISSUE_TAGGING_REGEX = /[A-Za-z-]+\/\d{1,5}([-_a-zA-Z]+[0-9]*)*$/
78
export const PURE_BRANCH_ISSUE_TAGGING_REGEX = /[A-Za-z-]+\/\d{1,5}/
8-
export const DEFAULT_PROTECTED_BRANCHES: Readonly<string[]> = ['main', 'master', 'develop']
9+
export const DEFAULT_PROTECTED_BRANCHES: Readonly<string[]> = ['main']

0 commit comments

Comments
 (0)