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.
Enforce conventional commits
- name: lint-commits
description: Lint commit messages
- rule: '!$hasLinearHistory()'
- '$warn("This pull request does not have linear history - please fix this!")'
- rule: 'true'