Add bot config (#4483)

* Add stale config

* Update stale config

* Add lock config

* Update lock.yml
This commit is contained in:
Ian Sutherland
2018-11-01 17:23:27 -06:00
committed by Joe Haddad
parent 3e9ba54018
commit 05aae37001
2 changed files with 68 additions and 0 deletions

18
.github/lock.yml vendored Normal file
View File

@@ -0,0 +1,18 @@
# 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
setLockReason: false
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.

50
.github/stale.yml vendored Normal file
View File

@@ -0,0 +1,50 @@
# 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
# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
exemptLabels:
- "issue: proposal"
- "issue: announcement"
# Set to true to ignore issues in a project (defaults to false)
exemptProjects: true
# Set to true to ignore issues in a milestone (defaults to false)
exemptMilestones: true
# 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.
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.