File tree 1 file changed +11
-4
lines changed
1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 1
- # This does not automatically close "stale" issues. Instead, it locks closed issues after 2 weeks of no activity.
2
- # If there's a new issue related to an old one, we've found it's much easier to work on as a new issue.
3
-
4
1
name : ' Lock threads'
2
+ # Lock closed issues that have not received any further activity for
3
+ # two weeks. This does not close open issues, only humans may do that.
4
+ # We find that it is easier to respond to new issues with fresh examples
5
+ # rather than continuing discussions on old issues.
5
6
6
7
on :
7
8
schedule :
8
9
- cron : ' 0 0 * * *'
9
10
11
+ permissions :
12
+ issues : write
13
+ pull-requests : write
14
+
15
+ concurrency :
16
+ group : lock
17
+
10
18
jobs :
11
19
lock :
12
20
runs-on : ubuntu-latest
13
21
steps :
14
22
- uses : dessant/lock-threads@v4
15
23
with :
16
- github-token : ${{ github.token }}
17
24
issue-inactive-days : 14
18
25
pr-inactive-days : 14
You can’t perform that action at this time.
0 commit comments