summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsyeopite <70992037+syeopite@users.noreply.github.com>2021-06-08 12:07:33 -0700
committerGitHub <noreply@github.com>2021-06-08 12:07:33 -0700
commite67f50f157d8e129d6287e9f94495cc50e94afac (patch)
tree0bae74bd6fcf5b5f82ad19c69aabf54c9ae500cb
parent2638c66638e8dafe3b38abbf6bd4097e59f5ee7d (diff)
parentdd13392e369f06a49dd4638bc3ddc89db3e99998 (diff)
downloadinvidious-e67f50f157d8e129d6287e9f94495cc50e94afac.tar.gz
invidious-e67f50f157d8e129d6287e9f94495cc50e94afac.tar.bz2
invidious-e67f50f157d8e129d6287e9f94495cc50e94afac.zip
Merge pull request #2129 from syeopite/lock-stale-closed-issues
Add workflow to lock inactive closed 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 00000000..3d2a0de7
--- /dev/null
+++ b/.github/workflows/lock.yml
@@ -0,0 +1,20 @@
+name: 'Lock Threads'
+
+on:
+ schedule:
+ - cron: "0 */12 * * *"
+
+jobs:
+ lock:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: dessant/lock-threads@v2
+ with:
+ github-token: ${{ github.token }}
+ issue-lock-inactive-days: '30'
+ pr-lock-inactive-days: '30'
+ issue-lock-reason: 'resolved'
+ pr-lock-reason: 'resolved'
+
+ issue-lock-comment: 'This issue has been automatically locked since there has not been any activity in it in the last 30 days. If this is still applicable to the current version of Invidious feel free to open a new issue.'
+ pr-lock-comment: 'This pull request has been automatically locked since there has not been any activity in it in the last 30 days. If you want to tell us about needed or wanted changes or if problems related to this code are discovered, feel free to open an issue or a new pull request.'