2023-03-18 12:48:07 +00:00
|
|
|
---
|
2023-03-17 20:42:05 +00:00
|
|
|
# lock-threads (https://github.com/marketplace/actions/lock-threads)
|
|
|
|
name: 'Lock threads'
|
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: '0 3 * * *'
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
issues: write
|
|
|
|
pull-requests: write
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
lock:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: dessant/lock-threads@v3
|
|
|
|
with:
|
|
|
|
issue-inactive-days: 90
|
|
|
|
pr-inactive-days: 30
|
2023-03-19 19:09:52 +00:00
|
|
|
issue-lock-reason: 'resolved'
|
|
|
|
exclude-any-issue-labels: 'bug / security-vulnerability, mod / announcement, mod / accepted, mod / reviewing, mod / testing'
|
|
|
|
exclude-any-pr-labels: 'bug / security-vulnerability, mod / announcement, mod / accepted, mod / reviewing, mod / testing'
|