# This does not automatically close "stale" issues. Instead, it locks closed issues after 2 weeks of no activity. # If there's a new issue related to an old one, we've found it's much easier to work on as a new issue. name: 'Lock threads' on: schedule: - cron: '0 0 * * *' jobs: lock: runs-on: ubuntu-latest steps: - uses: dessant/lock-threads@v3 with: github-token: ${{ github.token }} issue-inactive-days: 14 pr-inactive-days: 14