summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-04-28 17:44:40 +0100
committerGravatar Sadie Powell2022-04-28 17:45:38 +0100
commitf6489c34568525cd587c552ffd148d149ad03328 (patch)
treeef6f029e94f772ae3448a36c4811e3491ece0178 /tools
parentDocument the 'G' WHO flag. (diff)
Skip bots when generating the authors list.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/mkauthors1
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;