281677160/delete-releases-workflows
Delete older releases and workflow runs
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Jun 6, 2025
- License
- GPL 2.0
Pinned Snippet
uses: 281677160/auto@81946d0004954b277dbb2481ff811889dd2ba317 # no releases — HEAD as of 2026-07-10tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| repo | Repo name in the form of <owner>/<repo> | no | ${{ github.repository }} |
| delete_releases | Whether to delete releases records | yes | — |
| delete_tags | Whether to delete associated tags | no | true |
| prerelease_option | Whether to differentiate pre-release | no | all |
| releases_keep_latest | How many latest releases to keep | no | 90 |
| releases_keep_keyword | Keyword of the keep releases | no | "" |
| max_releases_fetch | Maximum number of releases to fetch in total | no | 200 |
| delete_workflows | Whether to delete workflows records | yes | — |
| workflows_keep_latest | How many latest workflow runs to keep | no | 90 |
| workflows_keep_keyword | Keywords for keep workflows | no | "" |
| max_workflows_fetch | Maximum number of workflow runs to fetch in total | no | 200 |
| out_log | Output a list log for each step | no | false |
| gh_token | GitHub token with appropriate permissions | yes | "" |
| debug | Enable debug output | no | false |
Outputs
no outputs