Skip to content

Commit 02130af

Browse files
authored
Enable auto-locking of issues closed long ago (dmlc#3821)
* Enable auto-locking of issues closed long ago Issues that were closed more than 90 days ago will be locked automatically so that no additional comments would be allowed. We will use a bot to do this: https://probot.github.io/apps/lock/ Background: As a maintainer, I often see people leaving comments to old issue posts that were closed long ago. Those comments are hard to discover and assist with, since they get buried under list of other active issues. With the change, users who want to follow up with an old issue would be asked to file a new issue. * Exempt `feature-request` from auto locking * Disable comment to avoid triggering notification
1 parent 4ae225a commit 02130af

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/lock.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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: 90
5+
6+
# Issues and pull requests with these labels will not be locked. Set to `[]` to disable
7+
exemptLabels:
8+
- feature-request
9+
10+
# Label to add before locking, such as `outdated`. Set to `false` to disable
11+
lockLabel: false
12+
13+
# Comment to post before locking. Set to `false` to disable
14+
lockComment: false
15+
16+
# Assign `resolved` as the reason for locking. Set to `false` to disable
17+
setLockReason: true
18+
19+
# Limit to only `issues` or `pulls`
20+
# only: issues
21+
22+
# Optionally, specify configuration settings just for `issues` or `pulls`
23+
# issues:
24+
# exemptLabels:
25+
# - help-wanted
26+
# lockLabel: outdated
27+
28+
# pulls:
29+
# daysUntilLock: 30
30+
31+
# Repository to extend settings from
32+
# _extends: repo

0 commit comments

Comments
 (0)