Skip to content

Commit f387cdf

Browse files
author
Chris Elion
authored
replace old bot with gh action (#4885)
1 parent 36bc744 commit f387cdf

File tree

2 files changed

+23
-38
lines changed

2 files changed

+23
-38
lines changed

.github/lock.yml

Lines changed: 0 additions & 38 deletions
This file was deleted.

.github/workflows/lock.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+
7+
jobs:
8+
lock:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: dessant/lock-threads@v2
12+
with:
13+
github-token: ${{ github.token }}
14+
issue-lock-inactive-days: '365'
15+
issue-exclude-created-before: ''
16+
issue-exclude-labels: ''
17+
issue-lock-labels: ''
18+
issue-lock-comment: >
19+
This thread has been automatically locked since there has not been
20+
any recent activity after it was closed. Please open a new issue for
21+
related bugs.
22+
issue-lock-reason: 'resolved'
23+
process-only: 'issues'

0 commit comments

Comments
 (0)