Skip to content

Commit 5165568

Browse files
authored
Merge pull request #398 from Kobzol/ignore-bors-build-finished
Ignore `bors build finished` failed jobs
2 parents a6d0be8 + cf84cd3 commit 5165568

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/bors/comment.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,11 @@ pub fn build_failed_comment(
125125

126126
let max_jobs_to_show = 5;
127127
for job in failed_jobs.iter().take(max_jobs_to_show) {
128+
// Ignore this special conclusion job, as it's not very useful to show its error
129+
if job.name == "bors build finished" {
130+
continue;
131+
}
132+
128133
let logs_url = job.html_url.to_string();
129134
let extended_logs_url = format!(
130135
"https://triage.rust-lang.org/gha-logs/{}/{}/{}",

0 commit comments

Comments
 (0)