Lock closed issues #695
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 closed issues' | |
on: | |
schedule: | |
- cron: '0 0 * * *' | |
permissions: | |
contents: read | |
jobs: | |
lock: | |
permissions: | |
issues: write # for dessant/lock-threads to lock issues | |
runs-on: ubuntu-latest | |
steps: | |
- uses: dessant/lock-threads@v2 | |
with: | |
github-token: ${{ github.token }} | |
process-only: 'issues' | |
issue-lock-inactive-days: '14' |