Skip to content

Commit 1397a63

Browse files
authored
Create lock threads workflow (#163)
Co-authored-by: Chandrapal Badshah <[email protected]>
1 parent 5aae0ce commit 1397a63

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/lock-threads.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: 'Lock Threads'
2+
3+
on:
4+
schedule:
5+
- cron: '0 * * * *'
6+
workflow_dispatch:
7+
8+
permissions:
9+
issues: write
10+
pull-requests: write
11+
discussions: write
12+
13+
concurrency:
14+
group: lock-threads
15+
16+
jobs:
17+
action:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: dessant/lock-threads@v5
21+
with:
22+
issue-inactive-days: '7'
23+
pr-inactive-days: '7'

0 commit comments

Comments
 (0)