Skip to content

Commit 05aae37

Browse files
iansuTimer
authored andcommitted
Add bot config (#4483)
* Add stale config * Update stale config * Add lock config * Update lock.yml
1 parent 3e9ba54 commit 05aae37

File tree

2 files changed

+68
-0
lines changed

2 files changed

+68
-0
lines changed

.github/lock.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Configuration for lock-threads - https://github.com/dessant/lock-threads
2+
3+
# Number of days of inactivity before a closed issue or pull request is locked
4+
daysUntilLock: 7
5+
setLockReason: false
6+
7+
issues:
8+
# Comment to post when locking a stale Issue.
9+
lockComment: >
10+
The conversation for this issue has been locked because the issue is
11+
closed. If you would like to contribute please open a new issue.
12+
13+
pulls:
14+
# Comment to post when locking a stale Pull Request.
15+
lockComment: >
16+
The conversation for this pull request has been locked because the pull
17+
request is closed. If you would like to contribute please open a new pull
18+
request.

.github/stale.yml

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Configuration for probot-stale - https://github.com/probot/stale
2+
3+
# Number of days of inactivity before an Issue or Pull Request becomes stale
4+
daysUntilStale: 60
5+
6+
# Number of days of inactivity before a stale Issue or Pull Request is closed.
7+
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
8+
daysUntilClose: 7
9+
10+
# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
11+
exemptLabels:
12+
- "issue: proposal"
13+
- "issue: announcement"
14+
15+
# Set to true to ignore issues in a project (defaults to false)
16+
exemptProjects: true
17+
18+
# Set to true to ignore issues in a milestone (defaults to false)
19+
exemptMilestones: true
20+
21+
# Label to use when marking as stale
22+
staleLabel: stale
23+
24+
# Limit the number of actions per hour, from 1-30. Default is 30
25+
limitPerRun: 30
26+
27+
issues:
28+
# Comment to post when marking Issues as stale.
29+
markComment: >
30+
This issue has been automatically marked as stale because it has not had any
31+
recent activity. It will be closed in 7 days if no further activity occurs.
32+
33+
# Comment to post when closing a stale Issue.
34+
closeComment: >
35+
This issue has been automatically closed because it has not had any recent
36+
activity. The conversation will be locked in 7 days unless the issue is
37+
reopened.
38+
39+
pulls:
40+
# Comment to post when marking Pull Request as stale.
41+
markComment: >
42+
This pull request has been automatically marked as stale because it has not
43+
had any recent activity. It will be closed in 7 days if no further activity
44+
occurs.
45+
46+
# Comment to post when closing a stale Pull Request.
47+
closeComment: >
48+
This pull request has been automatically closed because it has not had any
49+
recent activity. The conversation will be locked in 7 days unless the pull
50+
request is reopened. Thank you for your contribution.

0 commit comments

Comments
 (0)