devapp: hide CLs with hashtag wait-author
Updates golang/go#24836
Change-Id: I9964dc7ec2de21201b9258709803623482aa4104
Reviewed-on: https://go-review.googlesource.com/108219
Reviewed-by: Andrew Bonventre <andybons@golang.org>
diff --git a/devapp/reviews.go b/devapp/reviews.go
index 095f384..08b6833 100644
--- a/devapp/reviews.go
+++ b/devapp/reviews.go
@@ -117,6 +117,9 @@
if strings.Contains(cl.Commit.Msg, "DO NOT REVIEW") || strings.Contains(cl.Commit.Msg, "DO NOT SUBMIT") {
return nil
}
+ if cl.Meta.Hashtags().Contains("wait-author") {
+ return nil
+ }
c := &change{GerritCL: cl}
c.LastUpdate = cl.Commit.CommitTime
if len(cl.Messages) > 0 {