summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNejc Habjan <hab.nejc@gmail.com>2021-11-07 23:31:23 +0100
committerNejc Habjan <hab.nejc@gmail.com>2021-11-07 23:34:46 +0100
commita7d64fe5696984aae0c9d6d6b1b51877cc4634cf (patch)
tree8e79be6e057b95a3f3da7bd085dfd49404533181
parentcf801d8e643cb6717ea8495b9463908ce12eef34 (diff)
downloadgitlab-a7d64fe5696984aae0c9d6d6b1b51877cc4634cf.tar.gz
chore(ci): add workflow to lock old issues
-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'