From: Andrew Grimberg Date: Wed, 17 Aug 2022 17:38:03 +0000 (-0700) Subject: CI: Require RELENG changes in commit messages X-Git-Tag: v0.37.0~5 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F14%2F70514%2F1;p=releng%2Flftools.git 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 Signed-off-by: Andrew Grimberg Change-Id: Ibd30e0f0f1b0ab5393dfd84bf080ab6671936c85 --- diff --git a/.gitlint b/.gitlint index db97d76c..0f81b03d 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+(?