Просмотр исходного кода

Decreased frequency - Increased Operations

Changes made
- Decreased the frequency to ~4 hours during working hours
- Increased the Actions by a lot to process all issues
- Changed the ordering to Ascening to address the oldest issues first.
Mariska 1 год назад
Родитель
Сommit
af12166595
1 измененных файлов с 3 добавлено и 2 удалено
  1. 3 2
      .github/workflows/stale.yml

+ 3 - 2
.github/workflows/stale.yml

@@ -1,7 +1,7 @@
 name: 'Close stale issues and PRs'
 name: 'Close stale issues and PRs'
 on:
 on:
   schedule:
   schedule:
-    - cron: '*/10 * * * *'
+    - cron: '0 9-17/4 * * *'
     
     
 jobs:
 jobs:
   stale:
   stale:
@@ -12,7 +12,8 @@ jobs:
           days-before-pr-close: -1 
           days-before-pr-close: -1 
           days-before-stale: 365
           days-before-stale: 365
           days-before-close: 14
           days-before-close: 14
-          operations-per-run: 75
+          operations-per-run: 3000
+          ascending: true
           exempt-issue-labels: 'Status: Triage,Developer Environment :computer:,Status: On Backlog,PR: Community Contribution :crown:,PR: Printer Definitions :factory:,PR: Translations :books:'
           exempt-issue-labels: 'Status: Triage,Developer Environment :computer:,Status: On Backlog,PR: Community Contribution :crown:,PR: Printer Definitions :factory:,PR: Translations :books:'
           stale-issue-label: 'Status: Stale :hourglass:'
           stale-issue-label: 'Status: Stale :hourglass:'
           labels-to-add-when-unstale: 'Status: Triage'
           labels-to-add-when-unstale: 'Status: Triage'