ci: add auto closed issue/pr locking workflow

This commit is contained in:
Nicolas Giard 2022-06-16 14:23:21 -04:00 committed by GitHub
parent 411b5f4747
commit 3252e75c49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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

@ -0,0 +1,23 @@
name: Lock Threads
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
permissions:
issues: write
pull-requests: write
concurrency:
group: lock
jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v3
with:
github-token: ${{ github.token }}
issue-inactive-days: 7
pr-inactive-days: 3