From 52243d0140c9b62225168c8b6faaa75f9f1343a6 Mon Sep 17 00:00:00 2001 From: Madhu Rajanna Date: Wed, 19 Aug 2020 11:33:35 +0530 Subject: [PATCH] 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 --- .commitlintrc.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.commitlintrc.yml b/.commitlintrc.yml index 49b502ae1..cc5a9b208 100644 --- a/.commitlintrc.yml +++ b/.commitlintrc.yml @@ -13,7 +13,7 @@ rules: scope-empty: [1, always] # valid types/prefixes, see docs/development-guide.md type-enum: - - 1 + - 2 - always - - build - cephfs