summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/lock.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml
new file mode 100644
index 0000000..7356bd4
--- /dev/null
+++ b/.github/workflows/lock.yml
@@ -0,0 +1,14 @@
+name: Lock Issues
+on:
+ schedule:
+ - cron: '0 0 * * *'
+
+jobs:
+ lock:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: dessant/lock-threads@v2
+ with:
+ github-token: ${{ secrets.GITHUB_TOKEN }}
+ issue-lock-inactive-days: 90
+ pr-lock-inactive-days: 90