Skip to content

Commit

Permalink
Revert "ci: no longer require real name"
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
nbd168 committed Jan 29, 2024
1 parent e53ea08 commit 12d9551
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/formal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down

0 comments on commit 12d9551

Please sign in to comment.