summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNejc Habjan <hab.nejc@gmail.com>2021-11-08 00:09:33 +0100
committerGitHub <noreply@github.com>2021-11-08 00:09:33 +0100
commit0e6fb5e1ead843e466ba1bb1ef6a1461bb7cfd8d (patch)
tree8e79be6e057b95a3f3da7bd085dfd49404533181
parentcf801d8e643cb6717ea8495b9463908ce12eef34 (diff)
parenta7d64fe5696984aae0c9d6d6b1b51877cc4634cf (diff)
downloadgitlab-0e6fb5e1ead843e466ba1bb1ef6a1461bb7cfd8d.tar.gz
Merge pull request #1677 from python-gitlab/chore/ci-lock-threads
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'