{"repo":"igorjs/gh-actions-clean-workflow","free":true,"listed":false,"github":"https://github.com/igorjs/gh-actions-clean-workflow","clone":"git clone https://github.com/igorjs/gh-actions-clean-workflow.git","description":"Clean workflow run logs based on configuration","language":"TypeScript","stars":28,"topics":["github-actions","logs","utility","workflows"],"license":"MIT","category":"workflow-automation","readme_excerpt":"Clean Workflow Action Delete old GitHub Actions workflow runs with retry logic, circuit breaker, rate-limit awareness, and per-workflow filtering. Built for repos that generate a lot of CI noise. Quick start Need a full workflow file you can drop in? See Examples below. Table of contents - Features - Inputs - Outputs - Permissions - Examples - Advanced behavior - Versioning - Development - Migrating from v6 - Contributing - Security - License Features - Workflow filtering by name, so you only touch the runs you want - Per-workflow retention via runs to keep (keep the N most recent per workflow, delete the rest) - Automatic retries with exponential backoff on transient failures (5xx, 429, network) - Circuit breaker that opens after repeated failures and recovers automatically - Rate-limit aware : respects GitHub's Retry-After header and paces requests - Dry run mode to preview deletions without touching anything - Detailed metrics exposed as action outputs for monitoring, alerting, or dashboards - Hardened CI : signed commits, pinned action SHAs, OSV + Socket + CodeQL + betterleaks scanning Inputs Input Description Default Required --- --- --- --- token GitHub token used for the REST API. Needs actions: write on the target repo. ${{ github.token }} No owner Repository owner. ${{ github.repository owner }} No repo Repository name. extracted from ${{ github.repository }} No runs older than Delete runs older than this many days (since the last rerun). 7 No runs to keep Keep this ","default_branch":null,"files":null,"tree":[],"storefront":"/r/igorjs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/igorjs/gh-actions-clean-workflow/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}