Own the merge conflict label

This commit is contained in:
Graham Christensen 2018-03-18 21:52:13 -04:00
parent 022e2090d0
commit 5820df9683
No known key found for this signature in database
GPG key ID: ACA1C1D120C83D5C

View file

@ -267,7 +267,20 @@ impl<E: stats::SysEvents + 'static> worker::SimpleWorker for MassRebuildWorker<E
); );
info!("Failed to merge {}", job.pr.head_sha); info!("Failed to merge {}", job.pr.head_sha);
update_labels(
&issue,
vec!["2.status: merge conflict".to_owned()],
vec![],
);
return self.actions().skip(&job); return self.actions().skip(&job);
} else {
update_labels(
&issue,
vec![],
vec!["2.status: merge conflict".to_owned()],
);
} }
overall_status.set_with_description( overall_status.set_with_description(