ci: lock old resolved issue/PRs

This commit is contained in:
Ankush Menat 2023-12-27 19:31:45 +05:30 committed by GitHub
parent 12560e2407
commit 4feecb69d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

21
.github/workflows/lock.yml vendored Normal file
View File

@ -0,0 +1,21 @@
name: 'Lock threads'
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
permissions:
issues: write
pull-requests: write
jobs:
lock:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v5
with:
github-token: ${{ github.token }}
issue-inactive-days: 14
pr-inactive-days: 14