From a1e368b4c1ab4bae3a115d6317879248ae2a9810 Mon Sep 17 00:00:00 2001 From: Kelsey Breseman Date: Mon, 17 Dec 2018 16:32:51 -0800 Subject: [PATCH] implements a stale issues policy, fixes https://github.com/edgi-govdata-archiving/overview/issues/212 --- .github/stale.yml | 17 +++++++++++++++++ guidelines/project_guidelines.md | 5 +++++ 2 files changed, 22 insertions(+) create mode 100644 .github/stale.yml diff --git a/.github/stale.yml b/.github/stale.yml new file mode 100644 index 0000000..b2cb815 --- /dev/null +++ b/.github/stale.yml @@ -0,0 +1,17 @@ +# Number of days of inactivity before an issue becomes stale +daysUntilStale: 180 +# Number of days of inactivity before a stale issue is closed +daysUntilClose: 7 +# Issues with these labels will never be considered stale +exemptLabels: + - pinned + - security +# Label to use when marking an issue as stale +staleLabel: stale +# Comment to post when marking an issue 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. If it should not be closed, please comment! Thank you + for your contributions. +# Comment to post when closing a stale issue. Set to `false` to disable +closeComment: false \ No newline at end of file diff --git a/guidelines/project_guidelines.md b/guidelines/project_guidelines.md index 5b8f6dc..ff16500 100644 --- a/guidelines/project_guidelines.md +++ b/guidelines/project_guidelines.md @@ -82,3 +82,8 @@ See the [`LICENSE`](/LICENSE) file for details. * FITNESS FOR A PARTICULAR PURPOSE. See LICENSE file for details. */ ``` + +## Stale Issues Policy +In order to keep issues up to date, we use [a bot](https://probot.github.io/apps/stale/) to mark issues stale after a period of time with no activity, comment, and then close the issue if there is still no new activity. + +To see the configuration (number of days until stale, number of days until the issue is closed), see this repo's `.github/stale.yml`. \ No newline at end of file