diff options
| author | 2022-04-28 17:44:40 +0100 | |
|---|---|---|
| committer | 2022-04-28 17:45:38 +0100 | |
| commit | f6489c34568525cd587c552ffd148d149ad03328 (patch) | |
| tree | ef6f029e94f772ae3448a36c4811e3491ece0178 /tools | |
| parent | Document the 'G' WHO flag. (diff) | |
Skip bots when generating the authors list.
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/mkauthors | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/mkauthors b/tools/mkauthors index 63bf58f27..58bc436a9 100755 --- a/tools/mkauthors +++ b/tools/mkauthors @@ -33,6 +33,7 @@ use make::console; my %authors; for my $author (split /\n+/, `git log --pretty='%aN <%aE>' HEAD`) { $author = $1 if $author =~ /^(.+) <(?:unknown\@email.invalid|\S+\@users.noreply.github.com)>$/; + next if $author =~ /\[bot\]$/; $authors{$author} ||= 0; $authors{$author} += 1; |
