actions-marketplace-validations/Workflow runs delete
An action to delete workflow runs in a repository.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Dec 13, 2022
- License
- MIT
- Runtime
- Deprecated runtime
Pinned Snippet
uses: actions-marketplace-validations/infraway_delete-workflow-runs@7cd36dd5e346e2d44223ebb0e4d36f8a0391dac2 # no releases — HEAD as of 2026-07-10tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| token | The token used to authenticate. | yes | ${{ github.token }} |
| baseUrl | The base api url to be used in enterprise github instances | no | https://api.github.com |
| repository | The name of the repository. | yes | ${{ github.repository }} |
| retain_days | The number of days. | yes | 30 |
| keep_minimum_runs | The minimum runs to keep for each workflow. | yes | 6 |
| delete_workflow_pattern | The name or filename of the workflow. if not set then it will target all workflows. | no | — |
| delete_workflow_by_state_pattern | Remove workflow by state: active, deleted, disabled_fork, disabled_inactivity, disabled_manually | no | — |
| delete_run_by_conclusion_pattern | Remove workflow by conclusion: action_required, cancelled, failure, skipped, success | no | — |
| dry_run | Only log actions, do not perform any delete operations | no | — |
| status | Status of run to for filtering | no | — |
Outputs
no outputs