CondeNast / conventional-pull-request-action

Lint pull requests with the conventional commit spec, for a clean and conventional commit history
Apache License 2.0
14 stars 9 forks source link

fix: lint commit subject only, disregard body #20

Closed mattbedell closed 1 year ago

mattbedell commented 1 year ago

Linting the entire commit body can cause ci to fail, we only care about the commit's subject, because that's what is used for merge commit messages. This change only lints the commit subject, ignoring the rest of the commit content.

Review Checklist

PR titles must follow the type: description format. See Conventional Commits for a summary and examples.

Please complete these steps before requesting code review: