Skip to content

Commit

Permalink
Add Delete old workflow runs (P3TERX#244)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mattraks authored Nov 7, 2020
1 parent 9265b39 commit 8c20d95
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build-openwrt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,11 +176,11 @@ jobs:
body_path: release.txt
files: ${{ env.FIRMWARE }}/*

- name: Remove old Artifacts
uses: c-hive/[email protected]
- name: Delete workflow runs
uses: ActionsRML/delete-workflow-runs@main
with:
age: '1 day'
skip-recent: 3
retain_days: 1
keep_minimum_runs: 3

- name: Remove old Releases
uses: dev-drprasad/[email protected]
Expand All @@ -190,3 +190,4 @@ jobs:
delete_tags: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 8c20d95

Please sign in to comment.