| 1 |
name: '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 |
|
| 7 |
on: |
| 8 |
schedule: |
| 9 |
- cron: '0 0 * * *' |
| 10 |
|
| 11 |
permissions: |
| 12 |
issues: write |
| 13 |
pull-requests: write |
| 14 |
|
| 15 |
concurrency: |
| 16 |
group: lock |
| 17 |
|
| 18 |
jobs: |
| 19 |
lock: |
| 20 |
runs-on: ubuntu-latest |
| 21 |
steps: |
| 22 |
- uses: dessant/lock-threads@be8aa5be94131386884a6da4189effda9b14aa21 |
| 23 |
with: |
| 24 |
issue-inactive-days: 14 |
| 25 |
pr-inactive-days: 14 |