mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 08:21:14 +00:00
ci: no longer require real name
This goes in accordance with the Linux Kernel: > using a known identity (sorry, no anonymous contributions.) https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?id=HEAD#n442 Signed-off-by: Paul Spooren <mail@aparcar.org>
This commit is contained in:
parent
3df9322771
commit
2d4552a96c
8
.github/workflows/formal.yml
vendored
8
.github/workflows/formal.yml
vendored
@ -37,14 +37,6 @@ jobs:
|
|||||||
RET=1
|
RET=1
|
||||||
fi
|
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)"
|
subject="$(git show -s --format=%s $commit)"
|
||||||
if echo "$subject" | grep -q -e '^[0-9A-Za-z,+/_\.-]\+: ' -e '^Revert '; then
|
if echo "$subject" | grep -q -e '^[0-9A-Za-z,+/_\.-]\+: ' -e '^Revert '; then
|
||||||
success "Commit subject line seems ok ($subject)"
|
success "Commit subject line seems ok ($subject)"
|
||||||
|
Loading…
Reference in New Issue
Block a user