Skip to content

Draft: ci: lint commit messages

Oscar Tovar requested to merge ci/lint_commit_messages into main

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?

  1. Create an empty commit on a separate branch that does not follow the conventional commit specification.
  2. Run npx --yes commitlint --verbose --from=main and observe that it errors out with the commit error.

Screenshots (if appropriate):

Screen_Shot_2022-07-25_at_5.56.55_PM

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)

Merge request reports