Update workflow to archive closed issues and pr

This commit is contained in:
lowlighter
2021-03-16 14:06:30 +01:00
parent 08f2d7bd7a
commit 989afa2d64

View File

@@ -21,3 +21,19 @@ jobs:
stale-pr-label: stale stale-pr-label: stale
remove-stale-when-updated: yes remove-stale-when-updated: yes
operations-per-run: 100 operations-per-run: 100
lock:
name: Lock inactive closed issues and pull requests
needs:
- stale
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v2
with:
github-token: ${{ github.token }}
issue-lock-inactive-days: 14
issue-lock-reason: ""
issue-lock-labels: archived
pr-lock-inactive-days: 14
pr-lock-reason: ""
pr-lock-labels: archived