Skip to content

Commit

Permalink
Create delete-old-runs.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
abertschi authored Oct 24, 2023
1 parent 8ce21cf commit 7bfa93e
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/delete-old-runs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Delete old workflow runs
on:
workflow_dispatch:

jobs:
del_runs:
runs-on: ubuntu-latest
permissions:
actions: write
steps:
- name: Delete workflow runs
uses: Mattraks/delete-workflow-runs@v2
with:
token: ${{ github.token }}
repository: ${{ github.repository }}
retain_days: 30
keep_minimum_runs: 6

0 comments on commit 7bfa93e

Please # to comment.