[skip ci] Delete workflow runs
This commit is contained in:
@@ -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 }}
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ name: closeStaleIssue
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '30 1 * * *'
|
- cron: '30 1 0/5 * *'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
stale:
|
stale:
|
||||||
|
|||||||
@@ -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 ]
|
||||||
|
|||||||
Reference in New Issue
Block a user