actions-marketplace-validations/Clean up previous workflow runs
Delete previous workflow runs
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Feb 24, 2023
- License
- GPL 3.0
- Runtime
- Deprecated runtime
Pinned Snippet
uses: actions-marketplace-validations/egmacke_action-cleanup-workflow-runs@b881c463b31eafa7f38433c14d451e7bf02d383d # no releases — HEAD as of 2026-07-15tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| repository | The repository to work on (including owner, eg. `egmacke/acttion-cleanup-workflow-runs`) | yes | ${{ github.repository }} |
| token | The GitHub token to use for authentication | yes | ${{ github.token }} |
| workflow | The name or ID of a specific workflow to clean up - default to the current workflow name. | yes | ${{ github.workflow }} |
| retain | How many previous runs to keep | yes | 10 |
| branch | Provide the name of the branch to target. Will only delete workflow runs against this branch name. | no | — |
Outputs
no outputs