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

build: Add check for commit message format #56

Merged
merged 3 commits into from Oct 29, 2020
Merged

Conversation

stepanstipl
Copy link
Contributor

This PR adds check and docs for commit message format.

@stepanstipl stepanstipl requested a review from a user October 28, 2020 18:51
@stepanstipl stepanstipl self-assigned this Oct 28, 2020
@stepanstipl stepanstipl force-pushed the check-commits branch 3 times, most recently from b16429c to 20ba301 Compare October 28, 2020 19:37
@ghost
Copy link

ghost commented Oct 29, 2020

👍

@ghost
Copy link

ghost commented Oct 29, 2020

we could do this inside a python docker image with commitizen installed instead of bash script, but its a such a minor point. I think this is fine.

@stepanstipl stepanstipl merged commit 817125f into master Oct 29, 2020
@stepanstipl stepanstipl deleted the check-commits branch October 29, 2020 17:16
@stepanstipl
Copy link
Contributor Author

we could do this inside a python docker image with commitizen installed instead of bash script, but its a such a minor point. I think this is fine.

Yep, I was looking at a couple of tools (commitizen, commitlint, conform, go-gitlint), and most of them were missing some config options or it ends-up being regexp anyway, + not a fan of pulling nodejs & all the dependencies. So, in the end, this seemed like the easiest. But agree overall it would be nice to have some good pattern to move this externally... some ideas in #53.

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

Successfully merging this pull request may close these issues.

None yet

1 participant