Lock Threads #3060
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
# Licensed under CC0-1.0 | |
name: 'Lock Threads' | |
on: | |
schedule: | |
- cron: '0 */8 * * *' | |
workflow_dispatch: | |
permissions: | |
issues: write | |
pull-requests: write | |
discussions: write | |
concurrency: | |
group: lock-threads | |
jobs: | |
action: | |
runs-on: ubuntu-latest | |
timeout-minutes: 120 | |
steps: | |
- uses: dessant/lock-threads@v5 | |
with: | |
github-token: ${{ github.token }} | |
issue-inactive-days: '7' | |
issue-lock-reason: '' | |
pr-inactive-days: '14' | |
pr-lock-reason: '' | |
discussion-inactive-days: '28' |