]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Use stale action & merge with lock action
authorshamoon <4887959+shamoon@users.noreply.github.com>
Mon, 17 Apr 2023 20:27:47 +0000 (13:27 -0700)
committershamoon <4887959+shamoon@users.noreply.github.com>
Mon, 17 Apr 2023 20:29:19 +0000 (13:29 -0700)
.github/workflows/repo-maintenance.yml [moved from .github/workflows/lock.yml with 57% similarity]

similarity index 57%
rename from .github/workflows/lock.yml
rename to .github/workflows/repo-maintenance.yml
index f90087b5915a077fb9293631322d55a0348562fb..ecd167b5841e67761eda053180202ad1c2b84f20 100644 (file)
@@ -1,4 +1,4 @@
-name: 'Lock Old Threads'
+name: 'Repository Maintenance'
 
 on:
   schedule:
@@ -13,7 +13,23 @@ concurrency:
   group: lock
 
 jobs:
-  action:
+  stale:
+    name: 'Stale'
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/stale@v8
+        with:
+          days-before-stale: 30
+          days-before-close: 7
+          only-labels: 'cant-reproduce'
+          stale-issue-label: stale
+          stale-pr-label: stale
+          stale-issue-message: >
+            This issue has been automatically marked as stale because it has not had
+            recent activity. It will be closed if no further activity occurs. Thank you
+            for your contributions.
+  lock-threads:
+    name: 'Lock Old Threads'
     runs-on: ubuntu-latest
     steps:
       - uses: dessant/lock-threads@v4