From 38ef32a496b7109b8d186e7de79b5b8d6e494647 Mon Sep 17 00:00:00 2001 From: Madhu Rajanna Date: Wed, 4 Aug 2021 17:40:35 +0530 Subject: [PATCH] ci: trailer-exists to verify sign-off This commit uses trailer-exists instead of signed-off-by to verify the sign-off-by message. Signed-off-by: Madhu Rajanna Suggested-by: Ade Attwood --- .commitlintrc.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.commitlintrc.yml b/.commitlintrc.yml index e20c42bc9..b55fcfb1b 100644 --- a/.commitlintrc.yml +++ b/.commitlintrc.yml @@ -22,7 +22,7 @@ rules: body-max-line-length: [1, always, 80] # always sign off the commit - signed-off-by: [2, always, "Signed-off-by:"] + trailer-exists: [2, always, "Signed-off-by:"] # valid types/prefixes, see docs/development-guide.md type-enum: