| 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 |
concurrency: |
| 12 |
group: lock |
| 13 |
cancel-in-progress: true |
| 14 |
jobs: |
| 15 |
lock: |
| 16 |
runs-on: ubuntu-latest |
| 17 |
permissions: |
| 18 |
issues: write |
| 19 |
pull-requests: write |
| 20 |
discussions: write |
| 21 |
steps: |
| 22 |
- uses: dessant/lock-threads@7266a7ce5c1df01b1c6db85bf8cd86c737dadbe7 # v6.0.0 |
| 23 |
with: |
| 24 |
issue-inactive-days: 14 |
| 25 |
pr-inactive-days: 14 |
| 26 |
discussion-inactive-days: 14 |