1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-23 06:54:45 +03:00

workflows: add auto-locking of inactive closed issues

Encourage people to file new issues so that we can track and
communicate more effectively on their current issues.
This commit is contained in:
Wez Furlong 2023-02-03 08:45:17 -07:00
parent ed444faf91
commit 5532ae245a
No known key found for this signature in database
GPG Key ID: 7A7F66A31EC9B387

28
.github/workflows/lock.yml vendored Normal file
View File

@ -0,0 +1,28 @@
name: 'Lock Threads'
on:
schedule:
- cron: '0 * * * *'
workflow_dispatch:
permissions:
issues: write
pull-requests: write
concurrency:
group: lock
jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v4
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'