From: Mike Bayer Date: Wed, 23 Sep 2020 16:04:18 +0000 (-0400) Subject: try out the github stale hook. X-Git-Tag: rel_1_4_0b1~80 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4a9a9916017322fe5a3a58a4d7edb6e7489801e2;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git try out the github stale hook. This will mark an issue with the "stale" label after 5 days and close after 7. The goal is that it will mark "question" issues as stale automatically. it doesn't give us a way to link it to that label however, and we have to define it in terms of labels to exclude. Change-Id: I7c34f4e8fdf4ee0a15baa93b5831e5cdcf72dcc8 --- diff --git a/.github/stale.yml b/.github/stale.yml new file mode 100644 index 0000000000..07ae2a2151 --- /dev/null +++ b/.github/stale.yml @@ -0,0 +1,24 @@ +# Number of days of inactivity before an issue becomes stale +daysUntilStale: 5 + +# Number of days of inactivity before a stale issue is closed +daysUntilClose: 7 + +# Issues with these labels will never be considered stale +exemptLabels: + - requires triage + - bug + - regression + - documentation + - use case + - feature + +# 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 and we assume it's + marked as "question". It will be closed if no further activity occurs. Thank you + for your contributions. +# Comment to post when closing a stale issue. Set to `false` to disable +closeComment: true