2023-02-03 18:45:17 +03:00
|
|
|
name: 'Lock Threads'
|
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
2023-02-05 17:10:40 +03:00
|
|
|
- cron: '0 3 * * *'
|
2023-02-03 18:45:17 +03:00
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
issues: write
|
|
|
|
pull-requests: write
|
|
|
|
|
|
|
|
concurrency:
|
|
|
|
group: lock
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
action:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-11-20 04:39:20 +03:00
|
|
|
- uses: dessant/lock-threads@v5
|
2023-02-03 18:45:17 +03:00
|
|
|
with:
|
|
|
|
issue-inactive-days: '30'
|
|
|
|
issue-comment: >
|
|
|
|
I'm going to lock this issue because it has been closed for _30 days_ ⏳.
|
|
|
|
This helps our maintainers find and focus on the active issues.
|
|
|
|
If you have found a problem that seems similar to this, please open a new
|
|
|
|
issue and complete the issue template so we can capture all the details
|
|
|
|
necessary to investigate further.
|
|
|
|
process-only: 'issues'
|