Draft: ci: lint commit messages
Description
This MR adds a lint job that verifies if the new commit messages follow the conventional commit specification.
Related Issue
Resolves #1024 (closed)
How Has This Been Tested?
- Create an empty commit on a separate branch that does not follow the conventional commit specification.
- Run
npx --yes commitlint --verbose --from=main
and observe that it errors out with the commit error.
Screenshots (if appropriate):
Types of changes
-
Bug fix (non-breaking change which fixes an issue) -
New feature (non-breaking change which adds functionality) -
Breaking change (fix or feature that would cause existing functionality to change) -
Documentation -
Chore (Related to CI or Packaging to platforms)