Lock Threads #252
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 4 * * *' | |
permissions: {} | |
jobs: | |
lock: | |
permissions: | |
issues: write # for dessant/lock-threads to lock issues | |
pull-requests: write # for dessant/lock-threads to lock PRs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: dessant/lock-threads@v4 | |
with: | |
github-token: ${{ github.token }} | |
issue-inactive-days: "91" | |
add-issue-labels: "outdated" | |
pr-inactive-days: "91" | |
add-pr-labels: "outdated" |