Skip to main content
Version: 3.3.1

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.

Enforce conventional commits

api-version: reviewpad.com/v3.x

workflows:
- name: lint-commits
description: Lint commit messages
if:
- rule: '!$hasLinearHistory()'
extra-actions:
- '$warn("This pull request does not have linear history - please fix this!")'
- rule: 'true'
extra-actions:
- '$commitLint()'