mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 10:39:02 -04:00
Skip bots when generating the authors list.
This commit is contained in:
parent
bce6e2422e
commit
f6489c3456
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user