CI: Configure gitlint for Conventional Commits 46/67846/6 v0.7.0
authorAndrew Grimberg <agrimberg@linuxfoundation.org>
Mon, 31 May 2021 08:33:41 +0000 (10:33 +0200)
committerGuillaume Lambert <guillaume.lambert@orange.com>
Thu, 3 Jun 2021 08:53:26 +0000 (10:53 +0200)
commit2b9411e8831f17cfc0ad46a91886df4dcfdf04ad
tree54e2fa5119380f4dc4be4212d8afbbb9f86df55e
parent27e0235c267e85908f916abed06f194b74597cbf
CI: Configure gitlint for Conventional Commits

Turn on Conventional Commit message subject validation. This will affect
CI specifically, but developers can avoid having CI fail by assuring
that they have installed pre-commit and that they have also run

pre-commit install --hook-type commit-msg

The above is needed because pre-commit does not install commit-msg hooks
by default.

Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com>
Change-Id: I670a5099d43683435112bd71670618f569e3843d
.gitlint [new file with mode: 0644]
.pre-commit-config.yaml
releasenotes/notes/conventional_commit-5cbbd021edc324c2.yaml [new file with mode: 0644]