step-security/Delete Workflow Runs

GitHub Action to delete workflow runs in a repository.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
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