Skip to content
This repository was archived by the owner on Jun 15, 2021. It is now read-only.

Commit e7ff0d7

Browse files
authored
Adding configuration for lock-threads bot (#333)
1 parent 4f90570 commit e7ff0d7

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.github/lock.yml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
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: 30
5+
6+
# Skip issues and pull requests created before a given timestamp. Timestamp must
7+
# follow ISO 8601 (`YYYY-MM-DD`). Set to `false` to disable
8+
skipCreatedBefore: false
9+
10+
# Issues and pull requests with these labels will be ignored. Set to `[]` to disable
11+
exemptLabels: []
12+
13+
# Label to add before locking, such as `outdated`. Set to `false` to disable
14+
lockLabel: false
15+
16+
# Comment to post before locking. Set to `false` to disable
17+
lockComment: >
18+
This thread has been automatically locked since there has not been
19+
any recent activity after it was closed. Please open a new issue for
20+
related bugs.
21+
22+
# Assign `resolved` as the reason for locking. Set to `false` to disable
23+
setLockReason: false
24+
25+
# Limit to only `issues` or `pulls`
26+
only: issues
27+
28+
# Optionally, specify configuration settings just for `issues` or `pulls`
29+
# issues:
30+
# exemptLabels:
31+
# - help-wanted
32+
# lockLabel: outdated
33+
34+
# pulls:
35+
# daysUntilLock: 30
36+
37+
# Repository to extend settings from
38+
# _extends: repo

0 commit comments

Comments
 (0)