lock.yaml
This file
Path
.github/workflows/lock.yaml
26 lines · 741 bytes · YAML
Last changed by
Merge branch 'stable'David Lordbefore adoption6a2f545
History of this fileTake it
123456789101112131415161718192021222324252627name: Lock inactive closed issues# Lock closed issues that have not received any further activity for two weeks.# This does not close open issues, only humans may do that. It is easier to# respond to new issues with fresh examples rather than continuing discussions# on old issues.
on: schedule: - cron: '0 0 * * *'permissions: {}concurrency: group: lock cancel-in-progress: truejobs: lock: runs-on: ubuntu-latest permissions: issues: write pull-requests: write discussions: write steps: - uses: dessant/lock-threads@89ae32b08ed1a541efecbab17912962a5e38981c # v6.0.2 with: issue-inactive-days: 14 pr-inactive-days: 14 discussion-inactive-days: 14