Skip to content

Commit

Permalink
Merge pull request #1665 from Mark-Simulacrum/silence-mentions-beta
Browse files Browse the repository at this point in the history
Also silence mentions on beta-backport PRs
  • Loading branch information
Mark-Simulacrum authored Oct 29, 2022
2 parents fad3d1f + d978a24 commit 0bd2fe0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/handlers/mentions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 0bd2fe0

Please sign in to comment.