Merge pull request #9417 from astrojuanlu/lock-threads

Lock closed issues and pull requests after a period of inactivity
This commit is contained in:
Takeshi KOMIYA 2021-07-09 01:43:37 +09:00 committed by GitHub
commit be1dfb52d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

@ -0,0 +1,18 @@
name: 'Lock old threads'
on:
schedule:
- cron: '0 0 * * *'
permissions:
issues: write
pull-requests: write
jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v2
with:
issue-lock-inactive-days: '30'
pr-lock-inactive-days: '30'