From 1c52802cedc44386820bc50e1388c8c759bb0be2 Mon Sep 17 00:00:00 2001 From: Andrew Grimberg Date: Wed, 17 Aug 2022 10:39:23 -0700 Subject: [PATCH] CI: Require RELENG changes in commit messages To make sure that JSD issues are not being referenced since that is not public data, we will now start enforcing a requirement that commits have a RELENG issue associated with them. Issue: RELENG-4375 Change-Id: I37150383e0e986438fea01d549aa803f2f038100 Signed-off-by: Andrew Grimberg --- .gitlint | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlint b/.gitlint index db97d76..0f81b03 100644 --- a/.gitlint +++ b/.gitlint @@ -94,3 +94,7 @@ contrib=contrib-title-conventional-commits,contrib-body-requires-signed-off-by # to the following (fairly standard) topics and require them to be Mixed Case [contrib-title-conventional-commits] types=Fix,Feat,Chore,Docs,Style,Refactor,Perf,Test,Revert,CI,Build + +# Require RELENG issues in commit messages +[body-match-regex] +regex=(.*)Issue:\s+(?