viascom/GitHub Maintenance Action

Executing maintenance tasks on GitHub — delete old workflow runs, artifacts, and logs.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
github_tokenGitHub authentication token (usually pass: secrets.GITHUB_TOKEN).yes${{ github.token }}
repositoryRepository name in format 'owner/repo'.yes${{ github.repository }}
retention_daysRetention time in days for workflow runs to keep.yes31
keep_minimum_runsMinimum number of latest workflow runs to always keep.yes5
github_base_urlGitHub API base URL. Defaults to public GitHub API.nohttps://api.github.com
delete_logsIf true, deletes only the logs of workflow runs. If false and delete_artifacts is also false, the entire workflow run will be deleted.nofalse
delete_artifactsIf true, deletes only the artifacts of workflow runs. If false and delete_logs is also false, the entire workflow run will be deleted.nofalse
actorsComma-separated list of actors whose workflow runs to delete. If empty, no actor filtering is applied.no""
branchesComma-separated list of branches whose workflow runs to delete. If empty, no branch filtering is applied.no""
eventsComma-separated list of workflow run events to delete. If empty, no event filtering is applied.no""
statusesComma-separated list of workflow run statuses to delete. If empty, no status filtering is applied.no""
keep_pull_requestsIf true, pull request workflow runs will always be kept.nofalse
dry_runIf true, logs simulated changes but does not perform any deletions (artifacts, logs, or runs).nofalse
debugIf true, enables debug logging.nofalse

no outputs