1name: 'Lock threads'
2# Lock closed issues that have not received any further activity for
3# two weeks. This does not close open issues, only humans may do that.
4# We find that it is easier to respond to new issues with fresh examples
5# rather than continuing discussions on old issues.
6
7on:
8  schedule:
9    - cron: '0 0 * * *'
10
11permissions:
12  issues: write
13  pull-requests: write
14
15concurrency:
16  group: lock
17
18jobs:
19  lock:
20    runs-on: ubuntu-latest
21    steps:
22      - uses: dessant/lock-threads@c1b35aecc5cdb1a34539d14196df55838bb2f836
23        with:
24          issue-inactive-days: 14
25          pr-inactive-days: 14
26