summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2019-01-24 21:12:41 +0100
committerPatric Stout <truebrain@openttd.org>2019-01-24 21:57:06 +0100
commit564077719affdb0678cde43d424f9675ec2471e2 (patch)
tree80998b6f9fdd72a75f1976458f40fa93a9b9c686 /.github
parent225790892d923eb208af3844f4c08606afab046a (diff)
downloadopenttd-564077719affdb0678cde43d424f9675ec2471e2.tar.xz
Add: [GitHub] enable probot/stale, to flush out stale issues/pull requests
Stale bot checks if an issue hasn't had any attention in the last 60 days, or if a pull request hasn't had any attention in the last 30 days. If so, it marks it as stale. After 7 more days, it closes the issue/pull request. Any activity on the issue/pull request resets the timer. This helps keeping the counter low, and the work manageable. There is a lot of reasoning behind this idea, and other projects show it really helps to keep the issue/pull request count low. More information here: https://github.com/probot/stale
Diffstat (limited to '.github')
-rw-r--r--.github/stale.yml34
1 files changed, 34 insertions, 0 deletions
diff --git a/.github/stale.yml b/.github/stale.yml
new file mode 100644
index 000000000..57d42d692
--- /dev/null
+++ b/.github/stale.yml
@@ -0,0 +1,34 @@
+daysUntilClose: 7
+staleLabel: stale
+closeComment: false
+exemptMilestones: true
+exemptAssignees: true
+
+issues:
+ daysUntilStale: 60
+ exemptLabels:
+ - pinned
+ - security
+ - "good first issue"
+ - regression
+ markComment: >
+ This issue has been automatically marked as stale because it has not had any activity in the last two months.
+
+ If you believe the issue is still relevant, please test on the latest nightly and report back.
+
+ It will be closed if no further activity occurs within 7 days.
+
+ Thank you for your contributions.
+
+pulls:
+ daysUntilStale: 30
+ exemptLabels:
+ - pinned
+ markComment: >
+ This pull request has been automatically marked as stale because it has not had any activity in the last month.
+
+ Please feel free to give a status update now, ping for review, or re-open when it's ready.
+
+ It will be closed if no further activity occurs within 7 days.
+
+ Thank you for your contributions.