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 does 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.
reviewpad.yml
workflows:
- name: lint-commits
if:
- $description() != ""
then:
- $commitLint()