actions-marketplace-validations/Delete Workflow Runs

GitHub Action to delete workflow runs in a repository.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jun 5, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/mattraks_delete-workflow-runs@0cf693bc9909e5e867ee8f27b813224ba862939c # no releases — HEAD as of 2026-07-10

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

namedescriptionrequireddefault
tokenGitHub authentication tokenno${{ github.token }}
baseUrlGitHub API base URL (for GitHub Enterprise)nohttps://api.github.com
repositoryRepository name in {owner}/{repo} formatno${{ github.repository }}
retain_daysNumber of days to retain workflow runsno30
keep_minimum_runsMinimum number of runs to keep per workflow (or per day if use_daily_retention is true)no6
use_daily_retentionIf true, keep_minimum_runs will be applied per day instead of overallnofalse
delete_workflow_patternWorkflow name or filename pattern (omit for all)no
delete_workflow_by_state_patternWorkflow states to target (comma-separated or ALL)noALL
delete_run_by_conclusion_patternRun conclusions to target (comma-separated or ALL)noALL
dry_runSimulate deletions without performing themnofalse
check_branch_existenceSkip runs from existing branches (excludes main)nofalse
check_pullrequest_existSkip runs linked to pull requestsnofalse

no outputs