ci: error out for invalid component in commit header

if the commit header is not present in the list of
the component we maintain. the commitlint check should
show error instead of showing the warning.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 52243d0140)
This commit is contained in:
Madhu Rajanna 2020-08-19 11:33:35 +05:30 committed by mergify[bot]
parent 23c317b05a
commit 5db63ceacd

View File

@ -13,7 +13,7 @@ rules:
scope-empty: [1, always]
# valid types/prefixes, see docs/development-guide.md
type-enum:
- 1
- 2
- always
- - build
- cephfs