fix(ci): bound manual stale closure backfill · openclaw/openclaw@29d3b65
clawsweeper
·
2026-04-30
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -387,7 +387,7 @@ jobs:
|
387 | 387 | let lane = ""; |
388 | 388 | if (isPr && assigned) { |
389 | 389 | lane = "assigned-pr"; |
390 | | - eligible = isOlderThan(item.created_at, 34); |
| 390 | + eligible = isOlderThan(item.created_at, 34) && isOlderThan(item.updated_at, 7); |
391 | 391 | } else if (isPr) { |
392 | 392 | lane = "unassigned-pr"; |
393 | 393 | eligible = isOlderThan(item.updated_at, 7); |
@@ -422,7 +422,7 @@ jobs:
|
422 | 422 | counts[candidate.lane] = (counts[candidate.lane] || 0) + 1; |
423 | 423 | return counts; |
424 | 424 | }, {}); |
425 | | - const selected = maxClosures === 0 ? candidates : candidates.slice(0, maxClosures); |
| 425 | + const selected = candidates.slice(0, maxClosures); |
426 | 426 | |
427 | 427 | core.info(`Dry run: ${dryRun}`); |
428 | 428 | core.info(`Candidates: ${candidates.length}`); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。