From d978a245feb864346fa3ff839d430c73731bad7c Mon Sep 17 00:00:00 2001 From: Mark Rousskov Date: Sat, 29 Oct 2022 12:40:18 -0400 Subject: [PATCH] Also silence mentions on beta-backport PRs --- src/handlers/mentions.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/handlers/mentions.rs b/src/handlers/mentions.rs index cba0f38c6..1c888beae 100644 --- a/src/handlers/mentions.rs +++ b/src/handlers/mentions.rs @@ -43,7 +43,10 @@ pub(super) async fn parse_input( } // Don't ping on rollups or draft PRs. - if event.issue.title.starts_with("Rollup of") || event.issue.draft { + if event.issue.title.starts_with("Rollup of") + || event.issue.draft + || event.issue.title.contains("[beta] backport") + { return Ok(None); }