We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52e2d4e commit 29d3b65Copy full SHA for 29d3b65
1 file changed
.github/workflows/stale.yml
@@ -387,7 +387,7 @@ jobs:
387
let lane = "";
388
if (isPr && assigned) {
389
lane = "assigned-pr";
390
- eligible = isOlderThan(item.created_at, 34);
+ eligible = isOlderThan(item.created_at, 34) && isOlderThan(item.updated_at, 7);
391
} else if (isPr) {
392
lane = "unassigned-pr";
393
eligible = isOlderThan(item.updated_at, 7);
@@ -422,7 +422,7 @@ jobs:
422
counts[candidate.lane] = (counts[candidate.lane] || 0) + 1;
423
return counts;
424
}, {});
425
- const selected = maxClosures === 0 ? candidates : candidates.slice(0, maxClosures);
+ const selected = candidates.slice(0, maxClosures);
426
427
core.info(`Dry run: ${dryRun}`);
428
core.info(`Candidates: ${candidates.length}`);
0 commit comments