Skip to content

Commit c9c8c46

Browse files
authored
Merge pull request #43 from lumapps/fix/revert-header-pattern-typo
fix(validator): fix revert header pattern typo
2 parents bcab4c2 + 15ec494 commit c9c8c46

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

validator.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ readonly JIRA_FOOTER_PATTERN="^(${JIRA_PATTERN} ?)+$"
77
readonly JIRA_HEADER_PATTERN="^.*[^A-Z](${JIRA_PATTERN}).*$"
88
readonly BROKE_PATTERN="^BROKEN:$"
99
readonly TRAILING_SPACE_PATTERN=" +$"
10-
readonly REVERT_HEADER_PATTERN="^[R|r](evert|apply)[: ].*$"
10+
readonly REVERT_HEADER_PATTERN="^[Rr](evert|eapply)[: ].*$"
1111
readonly REVERT_COMMIT_PATTERN="^This reverts commit ([a-f0-9]+)"
1212
readonly TEMP_HEADER_PATTERN="^(fixup!|squash!).*$"
1313

0 commit comments

Comments
 (0)