mirror of
https://github.com/Matysh/houseplan-card
synced 2026-09-29 03:09:36 +00:00
fix(ci): стабилизировать релизный proof на main (#619)
Issue: #619 User-Visible: no
This commit is contained in:
@@ -76,7 +76,11 @@ export async function classifyValidateProofs({
|
||||
}
|
||||
}
|
||||
const current = evaluations.at(-1);
|
||||
if (current.status !== 'cancelled' && current.status !== 'stale') break;
|
||||
// #619: a complete proof is immutable evidence for this exact SHA/tree.
|
||||
// A later duplicate may fail for workflow topology rather than product
|
||||
// content, so only a green proof ends the search; failures remain the
|
||||
// fallback verdict when no run proves the candidate green.
|
||||
if (current.status === 'green') break;
|
||||
}
|
||||
return selectCiProofVerdict(evaluations);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user