probot / stale

A GitHub App built with Probot that closes abandoned Issues and Pull Requests after a period of inactivity.
https://probot.github.io/apps/stale/
ISC License
1.25k stars 212 forks source link

Feature Request: Option to ignore weekends in calculation of number of stale days #346

Open boopathi opened 3 years ago

boopathi commented 3 years ago

While calculating daysUntilStale, or daysUntilClose, when these numbers are configured to a low value, issues or prs that are created during one week gets closed over the following weekend when there are no updates during the weekends. Constantly going over PRs closed by stale bot on Mondays and reopening them is cumbersome.

Proposal: A new option to mark and avoid weekends in counting number of days until stale / close.

includeWeekends: false # defaults to true