name: "Lock" on: schedule: # “At 00:00.” https://crontab.guru/#0_0_*_*_* - cron: "0 0 * * *" permissions: issues: write jobs: lock: if: github.event_name != 'schedule' || github.repository == 'prettier/prettier' runs-on: ubuntu-latest steps: - uses: dessant/lock-threads@v4 with: # https://github.com/dessant/lock-threads github-token: ${{ github.token }} issue-inactive-days: "90" exclude-issue-created-before: "" exclude-any-issue-labels: "keep-unlocked, status:awaiting response" add-issue-labels: "locked-due-to-inactivity" issue-comment: "" issue-lock-reason: "resolved"