2020-11-04 08:58:20 -05:00
|
|
|
# lock-threads (https://github.com/marketplace/actions/lock-threads)
|
|
|
|
name: 'Lock threads'
|
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: '0 3 * * *'
|
|
|
|
|
2022-09-29 18:41:33 +03:00
|
|
|
permissions: {}
|
2020-11-04 08:58:20 -05:00
|
|
|
jobs:
|
|
|
|
lock:
|
2022-09-29 18:41:33 +03:00
|
|
|
permissions:
|
|
|
|
issues: write # to lock issues (dessant/lock-threads)
|
|
|
|
pull-requests: write # to lock PRs (dessant/lock-threads)
|
|
|
|
|
2020-11-04 08:58:20 -05:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-09-15 16:08:43 -04:00
|
|
|
- uses: dessant/lock-threads@v3
|
2020-11-04 08:58:20 -05:00
|
|
|
with:
|
|
|
|
github-token: ${{ github.token }}
|
2022-09-15 16:08:43 -04:00
|
|
|
issue-inactive-days: 90
|
|
|
|
pr-inactive-days: 30
|
2020-11-04 08:58:20 -05:00
|
|
|
issue-lock-reason: 'resolved'
|