name: 'Lock Threads' on: schedule: - cron: '0 0 * * *' permissions: {} jobs: lock: permissions: issues: write # to lock issues (dessant/lock-threads) pull-requests: write # to lock PRs (dessant/lock-threads) runs-on: ubuntu-latest steps: - uses: dessant/lock-threads@be8aa5be94131386884a6da4189effda9b14aa21 # v4 with: log-output: true github-token: ${{ secrets.GITHUB_TOKEN }} issue-inactive-days: '30' issue-comment: > This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. For general questions, we recommend using our [Community Forum](https://community.apollographql.com/tag/server) or [Stack Overflow](https://stackoverflow.com/questions/tagged/apollo-server). pr-inactive-days: '30'