From 991de290567d9a3b9425e20c05159d22a52fe147 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Fri, 21 May 2021 19:06:36 +0200 Subject: [PATCH] scripts/lint-commits: report github noreply emails --- common/scripts/lint-commits | 1 + 1 file changed, 1 insertion(+) diff --git a/common/scripts/lint-commits b/common/scripts/lint-commits index 785bf0ef1d0d..eb13376d6051 100755 --- a/common/scripts/lint-commits +++ b/common/scripts/lint-commits @@ -31,6 +31,7 @@ for cmt in $("$GIT_CMD" rev-list --abbrev-commit $base..$tip) do "$GIT_CMD" cat-file commit "$cmt" | awk -vC="$cmt" ' + /^author .*<.*noreply.*>/ { print C ": commit author has a noreply email" } # skip header /^$/ && !msg { msg = 1; next } !msg { next }