Lock threads #1458
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
name: "Lock threads" | |
permissions: | |
issues: write | |
pull-requests: write | |
discussions: write | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "37 2 * * *" | |
jobs: | |
lock: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: dessant/lock-threads@v5 | |
with: | |
github-token: ${{ github.token }} | |
issue-inactive-days: "365" | |
issue-lock-reason: "" | |
issue-comment: > | |
This old thread has been automatically locked. If you think you have | |
found something related to this, please open a new issue and link to this | |
old issue if necessary. |