Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Use stale action & merge with lock action

shamoonf5d6a9f4285b
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 f90087b59..ecd167b58 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