File tree 1 file changed +43
-0
lines changed
1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Lock closed issues/pull-requests
2
+
3
+ on :
4
+ # 00:00 hours UTC, i.e. 16:00 hours PST or 17:00 hours PDT
5
+ schedule :
6
+ - cron : ' 0 0 * * 0'
7
+
8
+ # allow manual trigger
9
+ workflow_dispatch :
10
+
11
+ concurrency :
12
+ group : lock
13
+
14
+ permissions :
15
+ issues : write
16
+ pull-requests : write
17
+ discussions : write
18
+
19
+ jobs :
20
+ lock :
21
+ runs-on : ubuntu-latest
22
+ steps :
23
+ - uses : dessant/lock-threads@v5
24
+ with :
25
+ process-only : ' issues, prs, discussions'
26
+ issue-inactive-days : 30
27
+ pr-inactive-days : 30
28
+ discussion-inactive-days : 730
29
+ issue-comment : >
30
+ This issue has been automatically locked since there
31
+ has not been any recent activity after it was closed.
32
+ Please open a new issue for related bugs and link to
33
+ relevant comments in the thread.
34
+ pr-comment : >
35
+ This pull request has been automatically locked since there
36
+ has not been any recent activity after it was closed.
37
+ Please open a new issue for related bugs and link to
38
+ relevant comments in the thread.
39
+ discussion-comment : >
40
+ This discussion has been automatically locked since there
41
+ has not been any recent activity after it was closed.
42
+ Please open a new discussion for related items and link to
43
+ relevant comments in the thread.
You can’t perform that action at this time.
0 commit comments