Skip to content

Commit

Permalink
Update delete_old_workflows.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Nomes77 authored Nov 1, 2023
1 parent f6178a0 commit 1698d86
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions .github/workflows/delete_old_workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,27 @@ jobs:
del_runs:
runs-on: ubuntu-latest
steps:
- name: Delete workflow runs
- name: Delete `Copy EasyDutch as Back-up` workflow runs
uses: Mattraks/delete-workflow-runs@main
with:
token: ${{ github.token }}
repository: ${{ github.repository }}
delete_workflow_pattern: Copy EasyDutch as Back-up
retain_days: 7
keep_minimum_runs: 0
keep_minimum_runs: 4
- name: Delete `Delete old workflow runs` workflow runs
uses: Mattraks/delete-workflow-runs@main
with:
token: ${{ github.token }}
repository: ${{ github.repository }}
delete_workflow_pattern: Delete old workflow runs
retain_days: 0
keep_minimum_runs: 1
- name: Delete `Label Commenter` workflow runs
uses: Mattraks/delete-workflow-runs@main
with:
token: ${{ github.token }}
repository: ${{ github.repository }}
delete_workflow_pattern: Label Commenter
retain_days: 0
keep_minimum_runs: 2

0 comments on commit 1698d86

Please sign in to comment.