Lock Threads #43
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# We often have cases where users would comment over stale closed Github Issues. | |
# This creates unnecessary noise for the original reporter and makes it harder for triaging. | |
# This action locks the closed threads once it is inactive for over a month. | |
name: 'Lock Threads' | |
on: | |
schedule: | |
- cron: '0 * * * *' | |
workflow_dispatch: | |
permissions: | |
issues: write | |
pull-requests: write | |
concurrency: | |
group: lock | |
jobs: | |
action: | |
runs-on: ubuntu-latest | |
if: ${{ github.repository == 'chatwoot/chatwoot' }} | |
steps: | |
- uses: dessant/lock-threads@v3 | |
with: | |
issue-inactive-days: '30' | |
issue-lock-reason: 'resolved' | |
pr-inactive-days: '30' | |
pr-lock-reason: 'resolved' |