Skip to content

Support validation commit messages against regex in 2.x #426

Description

@kwin

What's the problem this feature will solve?

There is often a policy to reference an issue from the project's issue tracker with each commit. However this can no longer be enforced with commit-check 2.x as the regex configuration vanished.
For JIRA (also to make commits appear automatically next to the JIRA issue) the format is https://support.atlassian.com/jira-software-cloud/docs/process-issues-with-smart-commits/#Workflow-transitions

For GitHub Issues this is https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/autolinked-references-and-urls#issues-and-pull-requests.

Describe the solution you'd like

Bring back the possibility to use custom regex patterns for commit messages next to conventional commits standard.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions