Skip to content

Commit

Permalink
Reorder jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromegamez committed May 28, 2024
1 parent 9f107b9 commit 2ade0c9
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/delete-workflow-runs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ on:
workflow_dispatch:

jobs:
delete_failed_runs:
runs-on: ubuntu-latest
steps:
- name: Delete failed workflow runs
uses: dmvict/clean-workflow-runs@v1
with:
run_conclusions: 'cancelled,failure,skipped,stale,timed_out'
save_period: 7
save_min_runs_number: 0
delete_runs:
runs-on: ubuntu-latest
steps:
Expand All @@ -14,13 +23,3 @@ jobs:
with:
save_period: 14
save_min_runs_number: 2

delete_failed_runs:
runs-on: ubuntu-latest
steps:
- name: Delete failed workflow runs
uses: dmvict/clean-workflow-runs@v1
with:
run_conclusions: 'cancelled,failure,skipped,stale,timed_out'
save_period: 7
save_min_runs_number: 0

0 comments on commit 2ade0c9

Please sign in to comment.