Skip to content

Commit bbbfc17

Browse files
authored
Merge pull request #551 from Kobzol/ignore-homu
Ignore homu commands
2 parents bd88032 + 6f1dd0b commit bbbfc17

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/bors/handlers/mod.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,12 @@ pub async fn handle_bors_repository_event(
7171
return Ok(());
7272
}
7373

74+
// Also ignore comments made by homu
75+
if comment.author.username == "bors" {
76+
tracing::trace!("Ignoring comment {comment:?} because it was authored by homu");
77+
return Ok(());
78+
}
79+
7480
let span = tracing::info_span!(
7581
"Comment",
7682
pr = format!("{}#{}", comment.repository, comment.pr_number),

0 commit comments

Comments
 (0)