-
Notifications
You must be signed in to change notification settings - Fork 64
Support --allow-merge-commits flag to skip validation of merge commits #133
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
Comments
Thanks for the detailed write-up @bagowix. What version of The |
Hi, thanks again for the quick response! I’m actually using conventional-pre-commit version v4.0.0, but I’m still consistently encountering this issue.
Here’s an example of the error I get:
It seems like merge commits are still being validated. Would appreciate any advice or suggestions! Thanks again! |
Ah, thank you for sharing the error output, that was helpful! I think I see the issue:
We check for commit messages that start with I would happily accept a PR (with tests) to fix this. |
I’d be happy to jump in and fix this! |
Thanks again @bagowix! This fix is now released in |
Thanks a lot for the quick review and merge! Appreciate the responsiveness - happy to contribute! |
Hi!
Currently, conventional-pre-commit fails on merge commits because their commit messages (like Merge branch 'master' into feature/my-branch) do not follow the Conventional Commits standard.
It would be very useful to have an option like --allow-merge-commits to skip validation of merge commits automatically.
Use Case:
Proposal:
Why it’s important:
The text was updated successfully, but these errors were encountered: