From edbbf6b2ca3a7584cada9b067f4b805a3aa1ea70 Mon Sep 17 00:00:00 2001 From: Travis Nielsen Date: Sat, 26 Oct 2019 01:03:11 -0600 Subject: [PATCH] project: close stale pull requests if no activity Issues are already being closed if there is no activity for 90 days. Pull requests have not been closed automatically. This change will cause pull requests to be closed after six months of inactivity. If there is no further activity, the PR will be closed after one more month. Signed-off-by: Travis Nielsen --- .github/stale.yml | 45 ++++++++++++++++++++++++--------------------- 1 file changed, 24 insertions(+), 21 deletions(-) diff --git a/.github/stale.yml b/.github/stale.yml index 8336ff40a..237fa2e04 100644 --- a/.github/stale.yml +++ b/.github/stale.yml @@ -1,12 +1,5 @@ # Configuration for probot-stale - https://github.com/probot/stale -# Number of days of inactivity before an Issue or Pull Request becomes stale -daysUntilStale: 90 - -# Number of days of inactivity before a stale Issue or Pull Request is closed. -# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale. -daysUntilClose: 7 - # Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable exemptLabels: - security @@ -21,19 +14,29 @@ exemptMilestones: false # Label to use when marking as stale staleLabel: wontfix -# Comment to post when marking as stale. Set to `false` to disable -markComment: > - This issue has been automatically marked as stale because it has not had - recent activity. It will be closed if no further activity occurs. Thank you - for your contributions. - -# Comment to post when closing a stale Issue or Pull Request. -closeComment: > - This issue has been automatically closed due to inactivity. Please re-open - if this still requires investigation. - # Limit the number of actions per hour, from 1-30. Default is 30 -limitPerRun: 30 +limitPerRun: 5 -# Limit to only `issues` or `pulls` -only: issues +# Specify configuration settings that are specific to issues +issues: + daysUntilStale: 90 + daysUntilClose: 7 + markComment: > + This issue has been automatically marked as stale because it has not had + recent activity. It will be closed in a week if no further activity occurs. Thank you + for your contributions. + closeComment: > + This issue has been automatically closed due to inactivity. Please re-open + if this still requires investigation. + +# Specify configuration settings that are specific to PRs +pulls: + daysUntilStale: 180 + daysUntilClose: 30 + markComment: > + This pull request has been automatically marked as stale because it has not had + recent activity. It will be closed in a month if no further activity occurs. Thank you + for your contributions. + closeComment: > + This pull request has been automatically closed due to inactivity. Please re-open + if these changes are still required.