ci: add auto closed issue/pr locking workflow
This commit is contained in:
parent
411b5f4747
commit
3252e75c49
23
.github/workflows/lock-threads.yml
vendored
Normal file
23
.github/workflows/lock-threads.yml
vendored
Normal 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
|
Loading…
Reference in a new issue