Bläddra i källkod

Remove debug mode and run twice a week

Signed-off-by: Joana Hrotko <[email protected]>
Joana Hrotko 1 år sedan
förälder
incheckning
ecac13f272
1 ändrade filer med 2 tillägg och 10 borttagningar
  1. 2 10
      .github/workflows/stale.yml

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

@@ -1,14 +1,7 @@
 name: 'Close stale issues'
 name: 'Close stale issues'
 on:
 on:
-  # schedule:
-  #   - cron: '0 0 * * *' # at midnight UTC every day
-  pull_request:
-  workflow_dispatch:
-    inputs:
-      debug_enabled:
-        description: 'To run in debug mode'
-        required: false
-        default: "true"
+  schedule:
+    - cron: '0 0 * * 0,3' # at midnight UTC every Sunday and Tuesday
 jobs:
 jobs:
   stale:
   stale:
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
@@ -19,7 +12,6 @@ jobs:
       - uses: actions/stale@v9
       - uses: actions/stale@v9
         with:
         with:
           repo-token: ${{ secrets.GITHUB_TOKEN }}
           repo-token: ${{ secrets.GITHUB_TOKEN }}
-          debug-only: ${{ github.event.inputs.debug_enabled }}
           stale-issue-message: >
           stale-issue-message: >
             This issue has been automatically marked as stale because it has not had
             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
             recent activity. It will be closed if no further activity occurs. Thank you