Эх сурвалжийг харах

Don't post mentions on rollups.

Eric Huss 2 жил өмнө
parent
commit
7e1312b5a1

+ 5 - 0
src/handlers/mentions.rs

@@ -42,6 +42,11 @@ pub(super) async fn parse_input(
         return Ok(None);
     }
 
+    // Don't ping on rollups.
+    if event.issue.title.starts_with("Rollup of") {
+        return Ok(None);
+    }
+
     if let Some(diff) = event
         .issue
         .diff(&ctx.github)