-
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (32 loc) · 1.07 KB
/
lock-inactive-threads.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
30
31
32
33
# Lock Inactive Threads
#
# References:
#
# - https://github.com/dessant/lock-threads
# - https://docs.github.com/actions/using-workflows/events-that-trigger-workflows#schedule
---
name: lock-inactive-threads
on:
schedule:
- cron: '0 0 * * *'
permissions:
issues: write
pull-requests: write
jobs:
lock-inactive-threads:
runs-on: ubuntu-latest
steps:
- id: lock
name: Lock inactive issues and pull requests
uses: dessant/[email protected]
with:
issue-lock-comment: |
This issue has been automatically locked since there has not been any recent activity
after it was closed. Please open a new issue for related bugs or features. Be sure to
reference this issue.
issue-lock-inactive-days: 60
pr-lock-comment: |
This pull request has been automatically locked since there has not been any recent
activity after it was closed. Please open a new issue for related bugs or features. Be
sure to reference this issue.
pr-lock-inactive-days: 60