-
Notifications
You must be signed in to change notification settings - Fork 237
29 lines (26 loc) · 854 Bytes
/
lock.yml
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
name: 'Lock Threads'
on:
schedule:
- cron: '* 6 * * *'
permissions:
contents: read
jobs:
lock:
permissions:
issues: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v4
with:
github-token: ${{ github.token }}
issue-lock-inactive-days: '30'
issue-lock-comment: >
This issue has been automatically locked. To avoid confusion
with reports that have already been resolved, closed issues
are automatically locked 30 days after the last comment.
Please open a new issue for related bugs.
pr-lock-comment: >
This pull request has been automatically locked.
Pull requests that have been closed are automatically
locked 30 days after the last comment.