name: 'Lock Closed Threads'

on:
  schedule:
    - cron: '0 7 * * *'  # 7am UTC, daily
  workflow_dispatch:

permissions:
  issues: write
  pull-requests: write

concurrency:
  group: lock

jobs:
  action:
    runs-on: ubuntu-latest
    steps:
      - uses: dessant/lock-threads@v2
        with:
          issue-lock-inactive-days: '30'
          pr-lock-inactive-days: '15'

Add a GitHub Actions workflow, to lock closed threads
Add a GitHub Actions workflow, to lock closed threads

This replaces the now-disabled lock-bot, which did the same thing.
