ci: Lock ancient issues (#9257)

ci: use dessant/lock-threads@v4
This commit is contained in:
Jiralite 2023-03-20 19:35:58 +00:00 committed by GitHub
parent c76b17d3b3
commit 950fc47234
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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

@ -0,0 +1,23 @@
name: Lock Ancient Issues
on:
schedule:
- cron: '0 16 * * *'
workflow_dispatch:
permissions:
issues: write
concurrency:
group: lock
jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v4
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
issue-inactive-days: 365
issue-lock-reason: resolved
process-only: issues