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