maximbircu/devtools-library

Add branch and commit style CI checks

Closed this issue · 0 comments

Abstract

We need a CI step that will check the correctness of each branch name and commit message to be able to keep everything consistent.

Requirements

Add a CI step that will check the branch and commit message style.

The branch should:

  • Start with the number of the issue it relates to
  • All words should be with lower case and split by -

The commit message

  • Should not be longer than 72 chars
  • Should start with a capital letter

How to test

The CI should fail in case any of the rules listed above are violated.