X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=.gitlint;h=ff58fcbbf68f9d6da4cdb00af3a3122213bcc5e6;hb=HEAD;hp=db97d76ca24d5df1985fa531d954ecac36500b78;hpb=50694603867093888fb581b5e1d2444b915e5bc1;p=releng%2Fglobal-jjb.git diff --git a/.gitlint b/.gitlint index db97d76c..ff58fcbb 100644 --- a/.gitlint +++ b/.gitlint @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: EPL-1.0 +# SPDX-FileCopyrightText: 2017 The Linux Foundation # All these sections are optional, edit this file as you like. [general] # Ignore certain rules, you can reference them by their id or by their full @@ -94,3 +96,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+(?