CI: Configure gitlint for Conventional Commits 46/67846/4
authorAndrew Grimberg <agrimberg@linuxfoundation.org>
Mon, 31 May 2021 08:33:41 +0000 (10:33 +0200)
committerGuillaume Lambert <guillaume.lambert@orange.com>
Mon, 31 May 2021 12:05:26 +0000 (14:05 +0200)
commit26c242eed90a168758a59f7a08f97a19f08a7a45
tree54e2fa5119380f4dc4be4212d8afbbb9f86df55e
parent0fb07976cc29a0aad9799e61a1a487919dcc167e
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]