Own the merge conflict label
This commit is contained in:
parent
022e2090d0
commit
5820df9683
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue