diverger/🗑️ Clean Workflow Run Logs

Clean up old GitHub Actions workflow runs to save storage space

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit May 29, 2025
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: diverger/gh-clean-workflow@7931fc0d0e99ec54bf43ccbef28b9207fb46af08 # v1.3.2

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
runs_older_thanThe amount of days old to deleteno21
runs_to_keepThe amount of latest workflow runs to keep per workflowno0
dry_runOnly show what would be deleted (dry run, see the output in the run log)notrue
github_tokenGitHub token with actions:write permissionsno${{ github.token }}
namedescription
total_runsTotal number of workflow runs found
deleted_runsNumber of workflow runs deleted
kept_runsNumber of workflow runs kept
failed_deletionsNumber of failed deletions (if any)
cutoff_dateThe cutoff date used for deletion (ISO format)
dry_runWhether this was a dry run (true/false)
summaryBrief summary of the cleanup operation