Skip to content

Commit 4caed13

Browse files
Remove merge conflict label (#708)
This label is now managed by Nixpkgs CI.
1 parent e0ff187 commit 4caed13

File tree

3 files changed

+0
-17
lines changed

3 files changed

+0
-17
lines changed

ofborg/src/tasks/eval/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ pub trait EvaluationStrategy {
1313

1414
fn on_target_branch(&mut self, co: &Path, status: &mut CommitStatus) -> StepResult<()>;
1515
fn after_fetch(&mut self, co: &CachedProjectCo) -> StepResult<()>;
16-
fn merge_conflict(&mut self);
1716
fn after_merge(&mut self, status: &mut CommitStatus) -> StepResult<()>;
1817
fn evaluation_checks(&self) -> Vec<EvalChecker>;
1918
fn all_evaluations_passed(

ofborg/src/tasks/eval/nixpkgs.rs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -128,21 +128,7 @@ impl<'a> EvaluationStrategy for NixpkgsStrategy<'a> {
128128
Ok(())
129129
}
130130

131-
fn merge_conflict(&mut self) {
132-
update_labels(
133-
self.issue_ref,
134-
&["2.status: merge conflict".to_owned()],
135-
&[],
136-
);
137-
}
138-
139131
fn after_merge(&mut self, status: &mut CommitStatus) -> StepResult<()> {
140-
update_labels(
141-
self.issue_ref,
142-
&[],
143-
&["2.status: merge conflict".to_owned()],
144-
);
145-
146132
status.set_with_description("Checking new out paths", hubcaps::statuses::State::Pending)?;
147133
self.check_outpaths_after()?;
148134

ofborg/src/tasks/evaluate.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,8 +355,6 @@ impl<'a, E: stats::SysEvents + 'static> OneEval<'a, E> {
355355

356356
info!("Failed to merge {}", job.pr.head_sha);
357357

358-
evaluation_strategy.merge_conflict();
359-
360358
return Ok(self.actions().skip(job));
361359
}
362360

0 commit comments

Comments
 (0)