Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Luis Cano Rodríguez <hello@juanlu.space>2021-07-07 16:27:47 +0300
committerJuan Luis Cano Rodríguez <hello@juanlu.space>2021-07-07 16:33:59 +0300
commitf1d03d7114e354a0d74a235b8d1ce713e18418bd (patch)
treecc8023feee0e5111e8ad7df30da8ea6a6d0ebde3 /.github
parentb09acabf0010ca95bab6f89012bb0e367cc1248e (diff)
Add bot to lock inactive closed issues and pull requests
Close #9237.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/lock.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml
new file mode 100644
index 000000000..bd02a7f7b
--- /dev/null
+++ b/.github/workflows/lock.yml
@@ -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'