actions-marketplace-validations/Workflow runs delete

An action to delete workflow runs in a repository.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Dec 13, 2022
License
MIT
Runtime
Deprecated runtime

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/infraway_delete-workflow-runs@7cd36dd5e346e2d44223ebb0e4d36f8a0391dac2 # no releases — HEAD as of 2026-07-10

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

namedescriptionrequireddefault
tokenThe token used to authenticate.yes${{ github.token }}
baseUrlThe base api url to be used in enterprise github instancesnohttps://api.github.com
repositoryThe name of the repository.yes${{ github.repository }}
retain_daysThe number of days.yes30
keep_minimum_runsThe minimum runs to keep for each workflow.yes6
delete_workflow_patternThe name or filename of the workflow. if not set then it will target all workflows.no
delete_workflow_by_state_patternRemove workflow by state: active, deleted, disabled_fork, disabled_inactivity, disabled_manuallyno
delete_run_by_conclusion_patternRemove workflow by conclusion: action_required, cancelled, failure, skipped, successno
dry_runOnly log actions, do not perform any delete operationsno
statusStatus of run to for filteringno

no outputs