mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-22 01:19:36 +00:00
fix(ci): preserve Barnacle proof labels (#83735)
* fix(ci): preserve sufficient proof override * fix(ci): keep sufficient proof on label churn
This commit is contained in:
@@ -798,10 +798,16 @@ function shouldRemoveProofSufficientLabel(context, proofEvaluation, hasExactHead
|
||||
if (hasExactHeadClawSweeperProof) {
|
||||
return false;
|
||||
}
|
||||
if (proofEvaluation.status === "override") {
|
||||
return false;
|
||||
}
|
||||
if (!["edited", "synchronize"].includes(context.payload.action)) {
|
||||
return false;
|
||||
}
|
||||
if (proofEvaluation.status !== "passed") {
|
||||
return true;
|
||||
}
|
||||
return ["edited", "synchronize"].includes(context.payload.action);
|
||||
return true;
|
||||
}
|
||||
|
||||
async function applyPullRequestCandidateLabels(github, context, core, pullRequest, labelSet) {
|
||||
|
||||
Reference in New Issue
Block a user