# Configuration for Lock Threads - https://github.com/dessant/lock-threads
name: 'Lock Issues'

on:
  workflow_dispatch:
  schedule:
    - cron: '45 22 * * *'

permissions:
  issues: write
  pull-requests: write

jobs:
  action:
    if: github.repository_owner == 'seleniumhq'
    runs-on: ubuntu-latest
    steps:
      - uses: dessant/lock-threads@v5
        with:
          process-only: 'issues'
          issue-inactive-days: '30'
          issue-lock-reason: ''
          issue-comment: >
            This issue has been automatically locked since there
            has not been any recent activity since it was closed.
            Please open a new issue for related bugs.
