Skip to content

Commit 9f20453

Browse files
author
Nieuwbourg Diego
committed
chore(jira-pattern): allow 7 characters
1 parent 59b7905 commit 9f20453

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

validator.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ readonly HEADER_PATTERN="^([^\(]+)\(([^\)]+)\): (.+)$"
88
readonly TYPE_PATTERN="^(feat|fix|docs|gen|lint|refactor|test|chore)$"
99
readonly SCOPE_PATTERN="^([a-z][a-z0-9]*)(-[a-z0-9]+)*$"
1010
readonly SUBJECT_PATTERN="^([A-Za-z0-9].*[^ ^\.])$"
11-
readonly JIRA_PATTERN="[A-Z]{2,6}[0-9]{0,6}-[0-9]{1,6}"
11+
readonly JIRA_PATTERN="[A-Z]{2,7}[0-9]{0,6}-[0-9]{1,6}"
1212
readonly JIRA_FOOTER_PATTERN="^(${JIRA_PATTERN} ?)+$"
1313
readonly JIRA_HEADER_PATTERN="^.*[^A-Z](${JIRA_PATTERN}).*$"
1414
readonly BROKE_PATTERN="^BROKEN:$"

0 commit comments

Comments
 (0)