aboutsummaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorJakob Borg <jakob@kastelo.net>2022-05-06 08:00:22 +0200
committerJakob Borg <jakob@kastelo.net>2022-05-06 08:00:22 +0200
commit520ca4bcb04574ec01ff69f2e2385160b5b87486 (patch)
treeccae5e2a85457f9a21379d5033b8cef27d300a1c /script
parentf35fb974d029de23498ed6d8da3c81c1c72cd1ac (diff)
downloadsyncthing-520ca4bcb04574ec01ff69f2e2385160b5b87486.tar.gz
syncthing-520ca4bcb04574ec01ff69f2e2385160b5b87486.zip
script, gui: Exclude bots from the in-GUI authors list
Diffstat (limited to 'script')
-rw-r--r--script/authors.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/script/authors.go b/script/authors.go
index 37fa76bbe..58c469415 100644
--- a/script/authors.go
+++ b/script/authors.go
@@ -100,6 +100,11 @@ func main() {
var lines []string
for _, author := range authors {
+ if strings.Contains(author.name, "[bot]") {
+ // Only humans are eligible, pending future legislation to the
+ // contrary.
+ continue
+ }
lines = append(lines, author.name)
}
replacement := strings.Join(lines, ", ")