Enforce conventional commits
Conventional commits is a specification for adding human and machine readable meaning to commit messages.
Reviewpad can be used to check and provide an error message if a commit in a pull request do not comply with the conventional commits specification.
Here's an example of a reviewpad.yml
configuration file that checks the pull request's commits whenever the action runs.
api-version: reviewpad.com/v3.x
workflows:
- name: lint-commits
description: Lint commit messages
if:
- rule: 'true'
then:
- '$commitLint()'