Clean up GitHub actions

This commit is contained in:
Jeremy Stretch
2024-03-25 09:55:21 -04:00
parent 6f9f1d9d43
commit 59e12e73c2
2 changed files with 3 additions and 4 deletions

23
.github/workflows/lock-threads.yml vendored Normal file
View File

@@ -0,0 +1,23 @@
# 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
discussions: write
jobs:
lock:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v5
with:
issue-inactive-days: 90
pr-inactive-days: 30
discussion-inactive-days: 180
issue-lock-reason: 'resolved'