Lock closed threads #160
This file contains hidden or 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
| name: 'Lock closed threads' | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| discussions: write | |
| on: | |
| schedule: | |
| - cron: '0 0 * * *' | |
| workflow_dispatch: | |
| concurrency: | |
| group: lock-threads | |
| jobs: | |
| action: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: dessant/lock-threads@v6 | |
| with: | |
| process-only: 'issues,prs' | |
| issue-inactive-days: '100' | |
| pr-inactive-days: '100' | |
| issue-comment: > | |
| This issue is closed and has been automatically locked. | |
| Please open a new issue with all requested information for related bugs. | |
| pr-comment: > | |
| This PR has been is closed and has been automatically locked. | |
| Please open a new issue with all requested information for related bugs. | |
| exclude-issue-created-before: '2025-01-01T00:00:00Z' | |
| exclude-pr-created-before: '2025-01-01T00:00:00Z' |