Răsfoiți Sursa

[skip ci] Delete workflow runs

Xwite 3 ani în urmă
părinte
comite
ba985b820f
3 a modificat fișierele cu 2 adăugiri și 8 ștergeri
  1. 1 0
      .github/workflows/cronet.yml
  2. 1 1
      .github/workflows/stale.yml
  3. 0 7
      .github/workflows/test.yml

+ 1 - 0
.github/workflows/cronet.yml

@@ -42,6 +42,7 @@ jobs:
             gradle.properties
             gradle.properties
       - name: Delete workflow runs
       - name: Delete workflow runs
         uses: Mattraks/delete-workflow-runs@v2
         uses: Mattraks/delete-workflow-runs@v2
+        continue-on-error: true
         with:
         with:
           token: ${{ github.token }}
           token: ${{ github.token }}
           repository: ${{ github.repository }}
           repository: ${{ github.repository }}

+ 1 - 1
.github/workflows/stale.yml

@@ -7,7 +7,7 @@ name: closeStaleIssue
 
 
 on:
 on:
   schedule:
   schedule:
-  - cron: '30 1 * * *'
+  - cron: '30 1 0/5 * *'
 
 
 jobs:
 jobs:
   stale:
   stale:

+ 0 - 7
.github/workflows/test.yml

@@ -103,13 +103,6 @@ jobs:
         with:
         with:
           name: legado.${{ env.product }}.${{ env.type }}
           name: legado.${{ env.product }}.${{ env.type }}
           path: ${{ github.workspace }}/apk/*.apk
           path: ${{ github.workspace }}/apk/*.apk
-      - name: Delete workflow runs
-        uses: Mattraks/delete-workflow-runs@v2
-        with:
-          token: ${{ github.token }}
-          repository: ${{ github.repository }}
-          retain_days: 30
-          keep_minimum_runs: 30
 
 
   lanzou:
   lanzou:
     needs: [ prepare, build ]
     needs: [ prepare, build ]