If a PR has wip in the title, don't build it anywhere
This commit is contained in:
parent
4359033f30
commit
a0f3e4e3b6
|
@ -118,10 +118,14 @@ impl<E: stats::SysEvents> worker::SimpleWorker for MassRebuildWorker<E> {
|
||||||
return self.actions().skip(&job);
|
return self.actions().skip(&job);
|
||||||
}
|
}
|
||||||
|
|
||||||
auto_schedule_build_archs = self.acl.build_job_destinations_for_user_repo(
|
if iss.title.to_lowercase().contains("wip") {
|
||||||
&iss.user.login,
|
auto_schedule_build_archs = vec![];
|
||||||
&job.repo.full_name,
|
} else {
|
||||||
);
|
auto_schedule_build_archs = self.acl.build_job_destinations_for_user_repo(
|
||||||
|
&iss.user.login,
|
||||||
|
&job.repo.full_name,
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
self.events.tick("issue-fetch-failed");
|
self.events.tick("issue-fetch-failed");
|
||||||
|
|
Loading…
Reference in a new issue