We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 475baab commit b53856bCopy full SHA for b53856b
src/bin/server/worker.rs
@@ -171,11 +171,11 @@ impl Worker {
171
if !outcome.is_passed() {
172
self.report_failed(build_id, build.as_ref())?;
173
}
174
- if build.pr_number().is_none() && build.branch_name() == "auto" {
+ if build.pr_number().is_some() || build.branch_name() == "auto" {
175
info!("learning from the log");
176
self.learn(build.as_ref())?;
177
} else {
178
- info!("did not learn as it's not an auto build");
+ info!("did not learn as it's not an auto build or a PR build");
179
180
181
Ok(ProcessOutcome::Continue)
0 commit comments