]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Chore: Update lock-threads with discussions support (#4580)
authorshamoon <4887959+shamoon@users.noreply.github.com>
Wed, 15 Nov 2023 03:55:14 +0000 (19:55 -0800)
committerGitHub <noreply@github.com>
Wed, 15 Nov 2023 03:55:14 +0000 (19:55 -0800)
.github/workflows/repo-maintenance.yml

index f7147ddcafa33f874bf4277bb38a2cc725116003..c732d0342a49a8146bc4a6759689f4de11c8162f 100644 (file)
@@ -33,10 +33,11 @@ jobs:
     name: 'Lock Old Threads'
     runs-on: ubuntu-latest
     steps:
-      - uses: dessant/lock-threads@v4
+      - uses: dessant/lock-threads@v5
         with:
           issue-inactive-days: '30'
           pr-inactive-days: '30'
+          discussion-inactive-days: '30'
           log-output: true
           issue-comment: >
             This issue has been automatically locked since there
@@ -46,6 +47,10 @@ jobs:
             This pull request has been automatically locked since there
             has not been any recent activity after it was closed.
             Please open a new discussion or issue for related concerns.
+          discussion-comment: >
+            This discussion has been automatically locked since there
+            has not been any recent activity after it was closed.
+            Please open a new discussion for related concerns.
   close-answered-discussions:
     name: 'Close Answered Discussions'
     runs-on: ubuntu-latest