.github/workflows/lock-issues.yml
raw| 1 | name: 'Lock Threads' |
| 2 | |
| 3 | on: |
| 4 | schedule: |
| 5 | - cron: '0 0 * * *' |
| 6 | |
| 7 | permissions: |
| 8 | issues: write |
| 9 | pull-requests: write |
| 10 | |
| 11 | jobs: |
| 12 | action: |
| 13 | if: github.repository_owner == 'psf' |
| 14 | runs-on: ubuntu-latest |
| 15 | steps: |
| 16 | - uses: dessant/lock-threads@7266a7ce5c1df01b1c6db85bf8cd86c737dadbe7 # v6.0.0 |
| 17 | with: |
| 18 | issue-lock-inactive-days: 90 |
| 19 | pr-lock-inactive-days: 90 |