Skip to content

Commit 3252e75

Browse files
authored
ci: add auto closed issue/pr locking workflow
1 parent 411b5f4 commit 3252e75

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.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 0 * * *'
6+
workflow_dispatch:
7+
8+
permissions:
9+
issues: write
10+
pull-requests: write
11+
12+
concurrency:
13+
group: lock
14+
15+
jobs:
16+
action:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: dessant/lock-threads@v3
20+
with:
21+
github-token: ${{ github.token }}
22+
issue-inactive-days: 7
23+
pr-inactive-days: 3

0 commit comments

Comments
 (0)