name: ⛔️ Lock Threads on: schedule: - cron: 0 0 * * * jobs: lock: runs-on: ubuntu-latest steps: - uses: wow-actions/use-app-token@v2 with: app_id: ${{ secrets.APP_ID }} private_key: ${{ secrets.PRIVATE_KEY }} - uses: dessant/lock-threads@v2 with: github-token: ${{ env.BOT_TOKEN }} issue-lock-inactive-days: 365 issue-lock-comment: | This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. process-only: issues