Skip to content

Upper case Jira tickets in commit message are ignored? #67

@james-hu

Description

@james-hu

It seems that commits with messages like fix(ABC-123): my message are ignored while those with messages like fix(abc-123): my message are not.

Here's the code, I guess instead of "a-z", it should be "a-zA-Z":

const prefixMatcher = prefixes && new RegExp(`^(${prefixes.join('|')})(\\([a-z0-9\\-_,]+\\))?:\\s.+$`)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions