From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Mon, 17 Apr 2023 20:27:47 +0000 (-0700) Subject: Use stale action & merge with lock action X-Git-Tag: v1.14.1~1^2~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5d6a9f4285b589e2ce87a4fdd9fae5fe430be80;p=thirdparty%2Fpaperless-ngx.git Use stale action & merge with lock action --- diff --git a/.github/workflows/lock.yml b/.github/workflows/repo-maintenance.yml similarity index 57% rename from .github/workflows/lock.yml rename to .github/workflows/repo-maintenance.yml index f90087b591..ecd167b584 100644 --- a/.github/workflows/lock.yml +++ b/.github/workflows/repo-maintenance.yml @@ -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