mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #9417 from astrojuanlu/lock-threads
Lock closed issues and pull requests after a period of inactivity
This commit is contained in:
commit
be1dfb52d1
18
.github/workflows/lock.yml
vendored
Normal file
18
.github/workflows/lock.yml
vendored
Normal 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'
|
Loading…
Reference in New Issue
Block a user