File tree Expand file tree Collapse file tree 2 files changed +38
-2
lines changed Expand file tree Collapse file tree 2 files changed +38
-2
lines changed Original file line number Diff line number Diff line change
1
+ # # Workflow to lock closed PRs/issues/discussions
2
+ # # timeframe to lock defaults to:
3
+ # # issues: 30 days
4
+ # # prs: 30 days
5
+ # # discussions: 365 days
6
+
7
+ name : " Lock Threads"
8
+
9
+ on :
10
+ schedule :
11
+ - cron : " 0 0 * * *"
12
+ workflow_dispatch :
13
+
14
+ permissions :
15
+ issues : write
16
+ pull-requests : write
17
+ discussions : write
18
+
19
+ concurrency :
20
+ group : lock-threads
21
+
22
+ jobs :
23
+ # # Lock closed issues/prs/discussions
24
+ lock :
25
+ name : Lock Threads
26
+ runs-on : ubuntu-latest
27
+ steps :
28
+ - name : Lock Threads
29
+ id : lock_threads
30
+ uses : stacks-network/actions/lock-threads@main
31
+ with :
32
+ github-token : ${{ secrets.GH_TOKEN }}
33
+ issue-inactive-days : 7
34
+ pr-inactive-days : 7
35
+ discussion-inactive-days : 7
36
+
Original file line number Diff line number Diff line change @@ -16,5 +16,5 @@ libsigner/**/*.rs @stacks-network/blockchain-team-signer
16
16
stacks-signer /** /* .rs @ stacks-network/blockchain-team-signer
17
17
18
18
# CI workflows
19
- . / github /workflows / @ stacks-network/blockchain-team-ci
20
- . / github /actions / @ stacks-network/blockchain-team-ci
19
+ / . github /workflows / @ stacks-network/blockchain-team-ci
20
+ / . github /actions / @ stacks-network/blockchain-team-ci
You can’t perform that action at this time.
0 commit comments