summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/lock.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml
new file mode 100644
index 0000000..4389c44
--- /dev/null
+++ b/.github/workflows/lock.yml
@@ -0,0 +1,20 @@
+name: 'Lock Closed Issues'
+
+on:
+ schedule:
+ - cron: '0 0 * * 1 '
+ workflow_dispatch: # For manual cleanup
+
+permissions:
+ issues: write
+
+concurrency:
+ group: lock
+
+jobs:
+ action:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: dessant/lock-threads@v3
+ with:
+ process-only: 'issues'