aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2019-11-20 12:17:52 -0800
committerGitHub <noreply@github.com>2019-11-20 12:17:52 -0800
commit8e8986b2506ca4cdd2339a441314a0838e3a4329 (patch)
tree87b9528381ea0e24ffec8b476eefc852a0072d84
parentb90edb75a3540a9efa9fb2e37a5a610163d889a4 (diff)
downloadqmk_firmware-8e8986b2506ca4cdd2339a441314a0838e3a4329.tar.gz
qmk_firmware-8e8986b2506ca4cdd2339a441314a0838e3a4329.zip
Add auto-handling of stale PRs/Issues (#7197)
* Add auto-handling of stale PRs/Issues This adds the configuration for probot-stale, so that PRs and Issues can be automatically pruned without intervention by collaborators. This marks PRs with `awaiting changes` label after 45 days, and then closes any PR with "Awaiting changes" after 30 days. Unless they have `awaiting review`, `breaking_changes`, `in progress` or `on hold` labels. This marks issues as `solved` after 90 days, and then closes them 30 days afterwards. Unless they have `bug`, `discussion, `to do`, `in progress` or `on hold` labels. * Cleanup the text some * Update .github/stale.yml Co-Authored-By: fauxpark <fauxpark@gmail.com>
-rw-r--r--.github/stale.yml52
1 files changed, 52 insertions, 0 deletions
diff --git a/.github/stale.yml b/.github/stale.yml
new file mode 100644
index 000000000..b2c40591b
--- /dev/null
+++ b/.github/stale.yml
@@ -0,0 +1,52 @@
1# Configuration for probot-stale - https://github.com/probot/stale
2
3# General configuration
4
5# Pull request specific configuration
6pulls:
7 staleLabel: awaiting changes
8 # Number of days of inactivity before an Issue or Pull Request becomes stale
9 daysUntilStale: 45
10 # Number of days of inactivity before a stale Issue or Pull Request is closed.
11 # Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
12 daysUntilClose: 30
13 # Comment to post when marking as stale. Set to `false` to disable
14 markComment: >
15 Thank you for your contribution!
16
17 This pull request has been automatically marked as stale because it has not had
18 activity in the last 45 days. It will be closed in 30 days if no further activity occurs.
19 Please feel free to give a status update now, or re-open when it's ready.
20 # Comment to post when closing a stale Issue or Pull Request.
21 closeComment: >
22 Thank you for your contribution!
23
24 This pull request has been automatically closed because it has not had activity in the last 30 days.
25 Please feel free to give a status update now, ping for review, or re-open when it's ready.
26 # Limit the number of actions per hour, from 1-30. Default is 30
27 limitPerRun: 30
28 exemptLabels:
29 - awaiting review
30 - breaking_change
31 - in progress
32 - on hold
33
34# Issue specific configuration
35issues:
36 staleLabel: solved
37 limitPerRun: 10
38 daysUntilStale: 90
39 daysUntilClose: 30
40 markComment: >
41 This issue has been automatically marked as resolved because it has not had activity in the
42 last 90 days. It will be closed in the next 30 days unless it is tagged properly or other activity
43 occurs.
44 closeComment: >
45 This issue has been automatically closed because it has not had activity in the last 30 days.
46 If this issue is still valid, re-open the issue and let us know.
47 exemptLabels:
48 - bug
49 - in progress
50 - on hold
51 - discussion
52 - to do