name: "Lock threads"

on:
  schedule:
    - cron: "0 13 * * *"

jobs:
  lock:
    runs-on: ubuntu-latest
    steps:
      - name: Lock closed issues and PRs
        uses: dessant/lock-threads@v5
        with:
          github-token: ${{ github.token }}
          process-only: "issues, prs"
          issue-inactive-days: "14"
          pr-inactive-days: "14"
