diff options
| author | Josef Schlehofer | 2024-06-04 09:11:33 +0000 |
|---|---|---|
| committer | Josef Schlehofer | 2024-06-05 08:42:08 +0000 |
| commit | 07c12180097283a7a53d14d173d7a7e6a1c43be8 (patch) | |
| tree | 0497fb6c34251344c76acfec4c66c1be5e55d46a | |
| parent | b0a4fd300f23f99bc678162165c23e93bb1e24e8 (diff) | |
| download | packages-07c12180097283a7a53d14d173d7a7e6a1c43be8.tar.gz | |
Revert "ci: no longer require real name"
It was decided that we should require to use real name once again.
There was discussion about it on the mailing list [1], which
was based on the commit in different OpenWrt repo [2]
This reverts commit 7e6cd98ad481184b1a620a9862aa3713d1ab85cc.
[1] https://lists.openwrt.org/pipermail/openwrt-devel/2024-April/042711.html
[2] https://github.com/openwrt/actions-shared-workflows/commit/12d9551f2d07ec34ac813da8612c8014fb393af6
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
| -rw-r--r-- | .github/workflows/formal.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/formal.yml b/.github/workflows/formal.yml index 0d64f6e26d..6511ad59ae 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 ' -e '^CONTRIBUTING.md' -e '^README.md'; then success "Commit subject line seems ok ($subject)" |