Control Freak - Custom error messages when Regex doesn't match.

Issue #139 resolved
Former user created an issue

When creating a PR with a commit that doesn't validate to the supplied regex, bitbucket will show a message with a short explanation.

Although the explanation is correct:

' Commit messages must satisfy the configured regex. Regex: <followed_by_your_regex>'

It's not a very helpful message. I would like to be able to set a custom message when the regex check fails; either with an example of a valid commit message; or posting a link to our commit guidelines.

This might be a duplicate of issue 130 which points to an error footer: https://bitbucket.org/gsylviedavies/pr-booster-for-bitbucket-server/issues/130/control-freak-custom-error-message-footer

Comments (2)

  1. Julius Davies [bit-booster.com] repo owner

    Version v2020.11.17 of Control Freak now lets you specify a custom message when the regex fails to match.

  2. Log in to comment