From 12d9551f2d07ec34ac813da8612c8014fb393af6 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 29 Jan 2024 11:25:23 +0100 Subject: [PATCH] Revert "ci: no longer require real name" This reverts main tree commit 2d4552a96c7e5d44f9caaf1367e2be9d3775afae. This is a policy change, which should require a public discussion/vote before being reintroduced Signed-off-by: Felix Fietkau --- .github/workflows/formal.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/formal.yml b/.github/workflows/formal.yml index f8710a1..ba4a952 100644 --- a/.github/workflows/formal.yml +++ b/.github/workflows/formal.yml @@ -34,6 +34,14 @@ jobs: RET=1 fi + author="$(git show -s --format=%aN $commit)" + if echo $author | grep -q '\S\+\s\+\S\+'; then + success "Author name ($author) seems ok" + else + err "Author name ($author) need to be your real name 'firstname lastname'" + RET=1 + fi + subject="$(git show -s --format=%s $commit)" if echo "$subject" | grep -q -e '^[0-9A-Za-z,+/_\.-]\+: ' -e '^Revert '; then success "Commit subject line seems ok ($subject)"