diff --git a/.github/scripts/triage_with_llm.py b/.github/scripts/triage_with_llm.py index 60c051e3352..3584aa252c2 100644 --- a/.github/scripts/triage_with_llm.py +++ b/.github/scripts/triage_with_llm.py @@ -741,7 +741,10 @@ def triage( # fail -> leave closed + post a "still failing" comment so the # contributor can iterate again. When `close=False` we preview # the action instead of actually posting/reopening. - if decision != "fail": + # Only an explicit "pass" verdict triggers a reopen — any other + # value (including missing/malformed verdicts) is fail-safe and + # leaves the PR/issue closed. + if decision == "pass": reopen_body = format_reopen_comment(kind) if not close: return {