This repository has been archived by the owner on Apr 28, 2024. It is now read-only.
Lock Threads #446
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@v4 | |
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: "" |