From 7cb1d8296dbb35fa9b76666fc741bcb129467cd7 Mon Sep 17 00:00:00 2001 From: Antoine GIRARD Date: Thu, 20 Dec 2018 21:34:55 +0100 Subject: [PATCH] Create stale bot config (#5243) --- .github/stale.yml | 52 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 .github/stale.yml diff --git a/.github/stale.yml b/.github/stale.yml new file mode 100644 index 000000000..8ddbdc251 --- /dev/null +++ b/.github/stale.yml @@ -0,0 +1,52 @@ +# Configuration for probot-stale - https://github.com/probot/stale + +# Number of days of inactivity before an Issue or Pull Request becomes stale +daysUntilStale: 60 + +# Number of days of inactivity before an Issue or Pull Request with the stale label is closed. +# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale. +daysUntilClose: 14 + +# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable +exemptLabels: + - status/blocked + - kind/security + - lgtm/done + - reviewed/confirmed + - priority/critical + - kind/proposal + +# Set to true to ignore issues in a project (defaults to false) +exemptProjects: false + +# Set to true to ignore issues in a milestone (defaults to false) +exemptMilestones: false + +# Label to use when marking as stale +staleLabel: stale + +# Comment to post when marking 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 during the next 2 weeks. Thank you + for your contributions. + +# Comment to post when closing a stale Issue or Pull Request. +closeComment: > + This issue has been automatically closed because of inactivity. + You can re-open it if needed. + +# Limit the number of actions per hour, from 1-30. Default is 30 +limitPerRun: 1 + +# Optionally, specify configuration settings that are specific to just 'issues' or 'pulls': +pulls: + daysUntilStale: 60 + markComment: > + This pull request has been automatically marked as stale because it has not had + recent activity. It will be closed if no further activity occurs during the next 2 months. Thank you + for your contributions. + closeComment: > + This pull request has been automatically closed because of inactivity. + You can re-open it if needed. +