in src/entrypoint.js [208:224]
await hasEnoughUpvotes(
client,
issue.number,
args.minimumUpvotesToExempt
)
) {
log.debug('issue is ancient but has enough upvotes to exempt');
} else {
log.debug('issue is ancient and not enough upvotes; marking stale');
if (args.dryrun) {
log.info(
`dry run: would mark #${issue.number} as ${staleLabel} due to last updated age`
);
} else {
await markStale(client, issue, ancientMessage, staleLabel);
}
}