-
Notifications
You must be signed in to change notification settings - Fork 22
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
Enforce conventional commits #1355
Comments
I try to be careful to prefix fixes and new features with "fix:" and "feat:", and occasionally I'll use "refactor:" to denote that no behavior should've changed. But I kinda hate the "chore:" prefix. I think it's pedantic, redundant and a waste of valuable first-line message space. I would prefer we not require some sort of prefix on every commit. As long as the tooling ignores un-prefixed commit messages, I think this is fine. |
That kind of defies the purpose of this. As that's the state we have right now and I'd say it doesn't work. |
Let's start by requiring folks to use "fix:" or "feat:" for at least one of the commits in any given PR that is either fixing something or introducing a new feature. If the tooling creating the release notes only looks for those prefixes, I think that will achieve the purpose of this. |
Yes, that's what we have today. I'd say it doesn't work. But let's give it another try. If it continues to not work, we just need to find a way. |
I am +1 for this. |
Yes, there are few. I've been using this one in the past: https://github.com/webiny/action-conventional-commits … But I guess there are other options. It's not uncommon. |
I am +1 to adopt (with the caveat that I am probably the person who is most likely to forget doing it!) |
+1 if we can enforce /w automated PR check. I hope a failure message will link folks to a page showing what the commit message should look like. |
depending on how you commit it may help: https://gist.github.com/RangHo/17fc8ea229faeea97e4e1c4c16439f3d save to a file called |
Maybe we can all 👍 or 👎 on the initial comment, so that we have a poll. |
This is maybe more a cross-organization issue, but I'll add it here anyway.
The idea is to enforce the use of conventional commits, using a GitHub actions. The rationale behind it is:
This would mean:
The text was updated successfully, but these errors were encountered: