Skip to content

Create rule which allows to match the message against a configurable message format #30

@hferentschik

Description

@hferentschik

I would like to have a rule which allows verifying a certain format of the first lines of the commit message. In the projects I am working we, for example, want to ensure that each commit message starts with the issue key the commit is related to, eg:

JIRA-1001 Bla bla

I would like to do something like (using regexps):

JIRA-[0-9]+ [A-Z].*

Looking at the current rules they are all static. What would be your idea around configurable rules?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions