Skip to content

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

Closed

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

Activity

  1. added
    enhancement
    on Jun 12, 2026
  2. added 2 commits that reference this issue on Jun 12, 2026
  3. added 2 commits that reference this issue on Jun 13, 2026
    72d4bd9
    5b41b42
  4. shenxianpeng commented on Jun 13, 2026

    @shenxianpeng
    Member

    Thank you for raising the issue — this really makes sense. This will be fixed and available in the next release soon.

  5. added a commit that references this issue on Jun 13, 2026
    6fb72d3
  6. shenxianpeng commented on Jun 13, 2026

    @shenxianpeng
    Member

    Added commit messages validation back via regex in v2.8.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions