Skip to content

Commit 71ed250

Browse files
authored
Lock closed issues/PRs via 3rd-party action (#772)
Lock closed issues/PRs via 3rd-party action
1 parent a623e72 commit 71ed250

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/lock.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: 'Lock closed issues and pull requests'
2+
on:
3+
schedule:
4+
- cron: '*/5 * * * *'
5+
jobs:
6+
lock:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: dessant/lock-threads@v2
10+
with:
11+
github-token: ${{ github.token }}
12+
issue-lock-inactive-days: 15
13+
issue-lock-reason: ''
14+
pr-lock-inactive-days: 15
15+
pr-lock-reason: ''

0 commit comments

Comments
 (0)