Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Message validation failed!!! #5

Closed
nibro7778 opened this issue Aug 21, 2019 · 2 comments
Closed

Message validation failed!!! #5

nibro7778 opened this issue Aug 21, 2019 · 2 comments

Comments

@nibro7778
Copy link

I have requested this issue to be fixed. After fixing this I was trying to test it with a new pull request but seems like it's not working. My commit and pull request title is according to whatever regex I have provided in the config file but still, the application gives me the following validation message.

Pull request title is invalid
Commit messages are invalid
sha: 335fe0e | message: feat: ABC-123- test commit for commit lint app 

Please have look to this PR for more details

@sumits-systango
Copy link
Contributor

@nibro7778
We'll take a look and get back to you.

@sumits-systango
Copy link
Contributor

sumits-systango commented Aug 27, 2019

@nibro7778
You need to add an extra backslash in the regex. Try this one:

Edit: the regex was not showing properly in comment, have updated again.
(?<verbs>(fix:|feat:|docs:|style:|refactor:|test:|chore:)\\s)(?<message>)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants