name: 'Lock Threads' | |
on: | |
schedule: | |
- cron: '0 0 * * *' | |
permissions: | |
issues: write | |
pull-requests: write | |
jobs: | |
action: | |
if: github.repository_owner == 'psf' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: dessant/lock-threads@be8aa5be94131386884a6da4189effda9b14aa21 # v4.0.1 | |
with: | |
issue-lock-inactive-days: 90 | |
pr-lock-inactive-days: 90 |