From b1d46af0d9327de8ec1bb2ed03d0c7143e8bf2ce Mon Sep 17 00:00:00 2001 From: Leonardo Uieda Date: Mon, 21 Jan 2019 17:50:47 +0000 Subject: [PATCH 1/2] Add config for stale Github bot The bot closes issues automatically if there is no activity. Configuration for the bot is in `.github/stale.yml`. --- .github/stale.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/stale.yml diff --git a/.github/stale.yml b/.github/stale.yml new file mode 100644 index 00000000000..70413867826 --- /dev/null +++ b/.github/stale.yml @@ -0,0 +1,16 @@ +# Number of days of inactivity before an issue becomes stale +daysUntilStale: 30 +# Number of days of inactivity before a stale issue is closed +daysUntilClose: 7 +# Issues with these labels will never be considered stale +exemptLabels: + - discussion +# 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 activity in + the last 30 days. It will be closed if no further activity occurs within 7 days. Thank + you for your contributions. +# Comment to post when closing a stale issue. Set to `false` to disable +closeComment: false From b6c011c2a010fb097971dd10a72730a68b874267 Mon Sep 17 00:00:00 2001 From: Leonardo Uieda Date: Mon, 21 Jan 2019 17:55:24 +0000 Subject: [PATCH 2/2] Update stale.yml --- .github/stale.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/stale.yml b/.github/stale.yml index 70413867826..c18567996ed 100644 --- a/.github/stale.yml +++ b/.github/stale.yml @@ -5,6 +5,7 @@ daysUntilClose: 7 # Issues with these labels will never be considered stale exemptLabels: - discussion + - longterm # 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