Lock Threads #34
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' | |
on: | |
schedule: | |
- cron: '0 1 * * *' | |
permissions: | |
issues: write | |
pull-requests: write | |
concurrency: | |
group: lock | |
jobs: | |
action: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: dessant/lock-threads@v5 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
issue-inactive-days: "2" | |
exclude-any-issue-labels: "discussion" | |
issue-comment: "This issue is locked to prevent necroposting on closed issues. Please create a new issue for related support requests, bug reports, or feature suggestions." | |
issue-lock-reason: "" | |
pr-inactive-days: "7" | |
pr-comment: "This issue is locked to prevent necroposting on closed issues. Please create a new issue for related discussion, if needed." | |
pr-lock-reason: "" |