Skip to content

Commit

Permalink
Add bot config (#4483)
Browse files Browse the repository at this point in the history
* Add stale config

* Update stale config

* Add lock config

* Update lock.yml
  • Loading branch information
iansu authored and Timer committed Nov 1, 2018
1 parent 3e9ba54 commit 05aae37
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/lock.yml
@@ -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 changes: 50 additions & 0 deletions .github/stale.yml
@@ -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.

0 comments on commit 05aae37

Please sign in to comment.