diff --git a/src/bors/handlers/mod.rs b/src/bors/handlers/mod.rs index 8b100af6..2dd75596 100644 --- a/src/bors/handlers/mod.rs +++ b/src/bors/handlers/mod.rs @@ -71,6 +71,12 @@ pub async fn handle_bors_repository_event( return Ok(()); } + // Also ignore comments made by homu + if comment.author.username == "bors" { + tracing::trace!("Ignoring comment {comment:?} because it was authored by homu"); + return Ok(()); + } + let span = tracing::info_span!( "Comment", pr = format!("{}#{}", comment.repository, comment.pr_number),