From 5ef535b84700a8ff31c57de447db65665e82134f Mon Sep 17 00:00:00 2001 From: Ian Sutherland Date: Sun, 25 Mar 2018 14:50:58 -0600 Subject: [PATCH 1/4] Add stale config --- .github/stale.yml | 64 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 .github/stale.yml diff --git a/.github/stale.yml b/.github/stale.yml new file mode 100644 index 00000000000..0ba1e4d6709 --- /dev/null +++ b/.github/stale.yml @@ -0,0 +1,64 @@ +# 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 a stale Issue or Pull Request is closed. +# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale. +daysUntilClose: 7 + +# Number of days after a stale Issue or Pull Request has been closed to lock it +daysUntilLock: 7 + +# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable +exemptLabels: + - pinned + - "issue: announcement" + +# 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 + +# Limit the number of actions per hour, from 1-30. Default is 30 +limitPerRun: 30 + +issues: + # Comment to post when marking Issues as stale. + markComment: > + This issue has been automatically marked as stale because it has not had any + recent activity. It will be closed in 7 days if no further activity occurs. + + # Comment to post when closing a stale Issue. + closeComment: > + This issue has been automatically closed because it has not had any recent + activity. The conversation will be locked in 7 days unless the issue is + reopened. + + # Comment to post when locking a stale Issue. + lockComment: > + The conversation for this issue has been locked because the issue is + closed. If you would like to contribute please open a new issue. + +pulls: + # Comment to post when marking Pull Request as stale. + markComment: > + This pull request has been automatically marked as stale because it has not + had any recent activity. It will be closed in 7 days if no further activity + occurs. + + # Comment to post when closing a stale Pull Request. + closeComment: > + This pull request has been automatically closed because it has not had any + recent activity. The conversation will be locked in 7 days unless the pull + request is reopened. Thank you for your contribution. + + # Comment to post when locking a stale Pull Request. + lockComment: > + The conversation for this pull request has been locked because the pull + request is closed. If you would like to contribute please open a new pull + request. From 2e1e5b53f3ebb6c360e2cd2d065378235b5d1654 Mon Sep 17 00:00:00 2001 From: Ian Sutherland Date: Sun, 25 Mar 2018 14:57:49 -0600 Subject: [PATCH 2/4] Update stale config --- .github/stale.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/stale.yml b/.github/stale.yml index 0ba1e4d6709..75351a66c61 100644 --- a/.github/stale.yml +++ b/.github/stale.yml @@ -12,14 +12,14 @@ daysUntilLock: 7 # Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable exemptLabels: - - pinned + - "issue: proposal" - "issue: announcement" # Set to true to ignore issues in a project (defaults to false) -exemptProjects: false +exemptProjects: true # Set to true to ignore issues in a milestone (defaults to false) -exemptMilestones: false +exemptMilestones: true # Label to use when marking as stale staleLabel: stale From fd8a493ea251c49f058459aed8f936fc5bfc4818 Mon Sep 17 00:00:00 2001 From: Ian Sutherland Date: Mon, 7 May 2018 11:12:44 -0600 Subject: [PATCH 3/4] Add lock config --- .github/lock.yml | 17 +++++++++++++++++ .github/stale.yml | 14 -------------- 2 files changed, 17 insertions(+), 14 deletions(-) create mode 100644 .github/lock.yml diff --git a/.github/lock.yml b/.github/lock.yml new file mode 100644 index 00000000000..62251d15bfe --- /dev/null +++ b/.github/lock.yml @@ -0,0 +1,17 @@ +# Configuration for lock-threads - https://github.com/dessant/lock-threads + +# Number of days of inactivity before a closed issue or pull request is locked +daysUntilLock: 7 + +issues: + # Comment to post when locking a stale Issue. + lockComment: > + The conversation for this issue has been locked because the issue is + closed. If you would like to contribute please open a new issue. + +pulls: +# Comment to post when locking a stale Pull Request. + lockComment: > + The conversation for this pull request has been locked because the pull + request is closed. If you would like to contribute please open a new pull + request. diff --git a/.github/stale.yml b/.github/stale.yml index 75351a66c61..bf7234bcd07 100644 --- a/.github/stale.yml +++ b/.github/stale.yml @@ -7,9 +7,6 @@ daysUntilStale: 60 # Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale. daysUntilClose: 7 -# Number of days after a stale Issue or Pull Request has been closed to lock it -daysUntilLock: 7 - # Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable exemptLabels: - "issue: proposal" @@ -39,11 +36,6 @@ issues: activity. The conversation will be locked in 7 days unless the issue is reopened. - # Comment to post when locking a stale Issue. - lockComment: > - The conversation for this issue has been locked because the issue is - closed. If you would like to contribute please open a new issue. - pulls: # Comment to post when marking Pull Request as stale. markComment: > @@ -56,9 +48,3 @@ pulls: This pull request has been automatically closed because it has not had any recent activity. The conversation will be locked in 7 days unless the pull request is reopened. Thank you for your contribution. - - # Comment to post when locking a stale Pull Request. - lockComment: > - The conversation for this pull request has been locked because the pull - request is closed. If you would like to contribute please open a new pull - request. From 5657a6627dfe2ea9348ed13a3f3a45af159d494e Mon Sep 17 00:00:00 2001 From: Joe Haddad Date: Thu, 1 Nov 2018 19:21:48 -0400 Subject: [PATCH 4/4] Update lock.yml --- .github/lock.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/lock.yml b/.github/lock.yml index 62251d15bfe..4b055fd8e69 100644 --- a/.github/lock.yml +++ b/.github/lock.yml @@ -2,6 +2,7 @@ # Number of days of inactivity before a closed issue or pull request is locked daysUntilLock: 7 +setLockReason: false issues: # Comment to post when locking a stale Issue.