-
Notifications
You must be signed in to change notification settings - Fork 1
31 lines (28 loc) · 859 Bytes
/
lock-threads.yml
File metadata and controls
31 lines (28 loc) · 859 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Lock Old Threads
on:
schedule:
- cron: '0 4 * * 0' # Weekly Sundays 4 AM UTC
workflow_dispatch:
permissions:
issues: write
pull-requests: write
jobs:
lock:
name: Lock Old Closed Threads
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v5
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
issue-inactive-days: 90
issue-lock-reason: resolved
issue-comment: >
This issue has been automatically locked since there
has been no activity for 90 days. Please open a new
issue if you need further assistance.
pr-inactive-days: 60
pr-lock-reason: resolved
pr-comment: >
This PR has been automatically locked since there
has been no activity for 60 days.
process-only: ''