From 15e3afccef649db98f8ed59a94244c21a537a37a Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Mon, 13 Dec 2021 21:36:39 -0500 Subject: fix(clbot): Noping autosubmitted message Change-Id: I6b7e086d2f10751f2f8b8c90eded01edcbfabadb Reviewed-on: https://cl.tvl.fyi/c/depot/+/4317 Tested-by: BuildkiteCI Reviewed-by: tazjin Autosubmit: grfn --- fun/clbot/clbot.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'fun') diff --git a/fun/clbot/clbot.go b/fun/clbot/clbot.go index ee250f706c..c259987a52 100644 --- a/fun/clbot/clbot.go +++ b/fun/clbot/clbot.go @@ -254,11 +254,7 @@ func main() { url := patchSetURL(e.Change, e.PatchSet) if submitter != owner && submitter == "clbot" { - // Ping CL author on IRC for autosubmitted messages, as this - // is not necessarily an action they would otherwise notice. - // We avoid pinging only for actions triggered by the same - // user. - parsedMsg = fmt.Sprintf("CL/%d by %s autosubmitted - %s - %s", e.Change.Number, owner, e.Change.Subject, url) + parsedMsg = nopingAll(owner, fmt.Sprintf("CL/%d by %s autosubmitted - %s - %s", e.Change.Number, owner, e.Change.Subject, url)) } else { parsedMsg = nopingAll(owner, fmt.Sprintf("CL/%d applied by %s - %s - %s", e.Change.Number, owner, e.Change.Subject, url)) } -- cgit 1.4.1