]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
try out the github stale hook.
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 23 Sep 2020 16:04:18 +0000 (12:04 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 23 Sep 2020 16:04:18 +0000 (12:04 -0400)
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

.github/stale.yml [new file with mode: 0644]

diff --git a/.github/stale.yml b/.github/stale.yml
new file mode 100644 (file)
index 0000000..07ae2a2
--- /dev/null
@@ -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