Open JamieMagee opened 3 years ago
Related issue #933
@nishakm can I help? But I would require a bit of insight on the task.
@sayantani11 I actually don't know how commitlint works, so I will have to do some research myself! Maybe you could research step 1 in the issue description. Our commit message rules are in the CONTRIBUTING.md.
@nishakm https://github.com/tern-tools/tern/blob/main/CONTRIBUTING.md#coding-style https://github.com/tern-tools/tern/blob/main/CONTRIBUTING.md#commit-message-format These are the ones defining rules right?
@sayantani11 Yup! those are the rules.
Problem Statement Looking at #911, we are spending time maintaining CI scripts, whereas we could rely on the work of the wider open source community instead.
Describe the Proposal Replace the script
test_commit_message.py
with commitlint, run by a GitHub action, and convert our commit message requirements to commit lint rules.I think this can also help with #885. If we require conventional commit messages, we can make use of further existing automation to easily release new versions, with the correct version bump, entirely automatically.
Steps to Implement Proposal