nerd-fonts/.github/workflows/lock.yml
Fini Jastrow ad7cf8fadd CI: Run lock.yml only once a week
[why]
After the initial locking of many issues (where we called the workflow
once every hour, it can only process 50 items in one run), this high
frequency is not needed anymore.

[how]
Just search for old closed issues once a week on monday morning.
Also remove manual trigger.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-03-14 01:58:08 +01:00

27 lines
761 B
YAML

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@v4
with:
issue-inactive-days: '182'
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 new
issue, complete the issue template with all the details
necessary to reproduce, and mention this issue as reference.
process-only: 'issues'