name: 'Lock Threads'

on:
  schedule:
    - cron: '0 0 * * *'

jobs:
  lock:
    runs-on: ubuntu-latest
    steps:
      - uses: dessant/lock-threads@v2
        with:
          github-token: ${{ github.token }}
          issue-lock-inactive-days: '14'
#          issue-exclude-labels: ''
#          issue-lock-labels: 'outdated'
          issue-lock-comment: >
            This issue has been automatically locked. If you believe you have
            found a related problem, please file a new issue (with a reprex:
            <https://reprex.tidyverse.org>) and link to this issue.
          issue-lock-reason: ''
          pr-lock-inactive-days: '14'
#          pr-exclude-labels: 'wip'
          pr-lock-labels: ''
          pr-lock-comment: >
            This pull request has been automatically locked. If you believe you
            have found a related problem, please file a new issue (with a reprex:
            <https://reprex.tidyverse.org>) and link to this issue.
          pr-lock-reason: ''
#          process-only: 'issues'
