name: 'Lock Threads'

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

permissions:
  issues: write

concurrency:
  group: lock

jobs:
  action:
    runs-on: ubuntu-latest
    steps:
      - uses: dessant/lock-threads@89ae32b08ed1a541efecbab17912962a5e38981c
        with:
          issue-inactive-days: '90'
          issue-comment: >
            This issue has been automatically locked since there
            has not been any recent activity (i.e. last half year) after it was closed.
            It helps our maintainers focus on the active issues.

            If you have found a problem that seems similar, please open a
            [discussion](https://github.com/JanDeDobbeleer/oh-my-posh/discussions/new?category=troubleshoot)
            first, complete the body with all the details necessary to reproduce,
            and mention this issue as reference.
          process-only: 'issues'
