{"id":48442970,"url":"https://github.com/igorjs/gh-actions-clean-workflow","last_synced_at":"2026-04-06T16:04:31.208Z","repository":{"id":37052070,"uuid":"474525663","full_name":"igorjs/gh-actions-clean-workflow","owner":"igorjs","description":"Clean workflow run logs based on configuration","archived":false,"fork":false,"pushed_at":"2026-04-02T03:55:20.000Z","size":2388,"stargazers_count":27,"open_issues_count":3,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-02T17:05:43.143Z","etag":null,"topics":["github-actions","logs","utility","workflows"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/clean-workflow-action","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/igorjs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"custom":["https://www.buymeacoffee.com/igorjs"]}},"created_at":"2022-03-27T03:34:30.000Z","updated_at":"2026-04-02T03:54:29.000Z","dependencies_parsed_at":"2026-01-02T09:08:05.418Z","dependency_job_id":null,"html_url":"https://github.com/igorjs/gh-actions-clean-workflow","commit_stats":{"total_commits":125,"total_committers":5,"mean_commits":25.0,"dds":0.368,"last_synced_commit":"3d5f41abb5d6696b1693214b2ff4a79352297030"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/igorjs/gh-actions-clean-workflow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorjs%2Fgh-actions-clean-workflow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorjs%2Fgh-actions-clean-workflow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorjs%2Fgh-actions-clean-workflow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorjs%2Fgh-actions-clean-workflow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/igorjs","download_url":"https://codeload.github.com/igorjs/gh-actions-clean-workflow/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorjs%2Fgh-actions-clean-workflow/sbom","scorecard":{"id":482709,"data":{"date":"2025-08-11","repo":{"name":"github.com/igorjs/gh-actions-clean-workflow","commit":"9d1c27d6d8628ea0e4e26df588a3aa87098c3abe"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.2,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/2 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":10,"reason":"25 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":4,"reason":"dependency not pinned by hash detected -- score normalized to 4","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/check-dist.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/igorjs/gh-actions-clean-workflow/check-dist.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/check-dist.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/igorjs/gh-actions-clean-workflow/check-dist.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/check-dist.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/igorjs/gh-actions-clean-workflow/check-dist.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/clean-logs.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/igorjs/gh-actions-clean-workflow/clean-logs.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/clean-logs.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/igorjs/gh-actions-clean-workflow/clean-logs.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/dependabot-auto-approve.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/igorjs/gh-actions-clean-workflow/dependabot-auto-approve.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/dependabot-auto-merge.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/igorjs/gh-actions-clean-workflow/dependabot-auto-merge.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/dependabot-pull-request.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/igorjs/gh-actions-clean-workflow/dependabot-pull-request.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-and-lint.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/igorjs/gh-actions-clean-workflow/test-and-lint.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-and-lint.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/igorjs/gh-actions-clean-workflow/test-and-lint.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-and-lint.yml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/igorjs/gh-actions-clean-workflow/test-and-lint.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-and-lint.yml:56: update your workflow using https://app.stepsecurity.io/secureworkflow/igorjs/gh-actions-clean-workflow/test-and-lint.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test-and-lint.yml:69: update your workflow using https://app.stepsecurity.io/secureworkflow/igorjs/gh-actions-clean-workflow/test-and-lint.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-and-lint.yml:83: update your workflow using https://app.stepsecurity.io/secureworkflow/igorjs/gh-actions-clean-workflow/test-and-lint.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-and-lint.yml:86: update your workflow using https://app.stepsecurity.io/secureworkflow/igorjs/gh-actions-clean-workflow/test-and-lint.yml/main?enable=pin","Info:   0 out of  10 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   5 third-party GitHubAction dependencies pinned","Info:   4 out of   4 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: jobLevel 'actions' permission set to 'write': .github/workflows/clean-logs.yml:19","Warn: topLevel 'contents' permission set to 'write': .github/workflows/check-dist.yml:17","Warn: topLevel 'actions' permission set to 'write': .github/workflows/check-dist.yml:18","Warn: no topLevel permission defined: .github/workflows/clean-logs.yml:1","Warn: topLevel 'contents' permission set to 'write': .github/workflows/dependabot-auto-merge.yml:5","Warn: topLevel 'contents' permission set to 'write': .github/workflows/dependabot-pull-request.yml:13","Info: topLevel 'contents' permission set to 'read': .github/workflows/test-and-lint.yml:12"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":1,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'main'","Warn: 'force pushes' enabled on branch 'main'","Warn: branch 'main' does not require approvers","Warn: codeowners review is not required on branch 'main'","Warn: no status checks found to merge onto branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["Info: all commits (29) are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-xffm-g5w8-qvg7"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-19T17:00:54.353Z","repository_id":37052070,"created_at":"2025-08-19T17:00:54.353Z","updated_at":"2025-08-19T17:00:54.353Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31479009,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-06T14:34:32.243Z","status":"ssl_error","status_checked_at":"2026-04-06T14:34:31.723Z","response_time":112,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["github-actions","logs","utility","workflows"],"created_at":"2026-04-06T16:04:09.177Z","updated_at":"2026-04-06T16:04:31.189Z","avatar_url":"https://github.com/igorjs.png","language":"TypeScript","funding_links":["https://www.buymeacoffee.com/igorjs"],"categories":[],"sub_categories":[],"readme":"# Clean Workflow Action\n\n[![CI](https://github.com/igorjs/gh-actions-clean-workflow/actions/workflows/ci.yml/badge.svg)](https://github.com/igorjs/gh-actions-clean-workflow/actions/workflows/ci.yml) [![Check Dist](https://github.com/igorjs/gh-actions-clean-workflow/actions/workflows/check-dist.yml/badge.svg)](https://github.com/igorjs/gh-actions-clean-workflow/actions/workflows/check-dist.yml) [![codecov](https://codecov.io/gh/igorjs/gh-actions-clean-workflow/graph/badge.svg?token=SvXR0ZFpvg)](https://codecov.io/gh/igorjs/gh-actions-clean-workflow)\n\nClean workflow run logs based on configuration with advanced features like retry logic, circuit breaker, rate limiting, and workflow filtering.\n\n## Features\n\n- 🎯 **Workflow Filtering**: Filter deletions by specific workflow names\n- 🔄 **Automatic Retries**: Exponential backoff retry logic for transient failures\n- 🛡️ **Circuit Breaker**: Prevents cascading failures with automatic recovery\n- ⏱️ **Rate Limiting**: Built-in API rate limit handling with retry-after support\n- 📊 **Detailed Metrics**: Comprehensive API metrics exported as action outputs\n- 🧪 **Dry Run Mode**: Test your configuration without actually deleting runs\n- 📈 **High Test Coverage**: Over 95% code coverage with unit and integration tests\n- ⚡ **Modern Tooling**: Built with TypeScript, Biome.js, and Vitest\n\n## Usage\n\nPlease be aware of the GitHub's API [rate limit](https://docs.github.com/en/rest/using-the-rest-api/rate-limits-for-the-rest-api).\n\n### Parameters\n\n| Parameter | Description | Default | Required |\n|-----------|-------------|---------|----------|\n| `token` | GitHub token for API access | `github.token` | No |\n| `owner` | Repository owner | `github.repository_owner` | No |\n| `repo` | Repository name | Extracted from `github.repository` | No |\n| `runs_older_than` | Days old for a workflow run to be considered old | `7` | No |\n| `runs_to_keep` | Number of latest workflow runs to keep per workflow | `0` | No |\n| `workflow_names` | Comma-separated list of workflow names to filter (empty = all workflows) | `\"\"` | No |\n| `dry_run` | Preview deletions without actually deleting | `false` | No |\n\n### Outputs\n\n| Output | Description |\n|--------|-------------|\n| `total-runs-found` | Total number of workflow runs found |\n| `runs-deleted` | Number of runs successfully deleted |\n| `runs-failed` | Number of runs that failed to delete |\n| `total-api-requests` | Total number of API requests made |\n| `successful-requests` | Number of successful API requests |\n| `failed-requests` | Number of failed API requests |\n| `retry-attempts` | Number of retry attempts |\n| `rate-limit-hits` | Number of times rate limit was hit |\n| `circuit-breaker-trips` | Number of times circuit breaker opened |\n\n### Permissions\n\nThis workflow needs write permissions on your actions.\nBe sure to add the correct permissions as follows:\n\n```yaml\npermissions:\n  actions: write\n```\n\n### Examples\n\n#### Basic Usage\n\n```yaml\njobs:\n  clean-logs:\n    runs-on: ubuntu-latest\n    permissions:\n      actions: write\n    steps:\n      - uses: igorjs/gh-actions-clean-workflow@v7\n        with:\n          token: ${{ github.token }} # optional\n          owner: ${{ github.repository_owner }} # optional\n          repo: ${{ github.repository }} # optional\n          runs_older_than: 7 # optional\n          runs_to_keep: 0 # optional\n```\n\n#### Filter by Workflow Names\n\nClean only specific workflows by name:\n\n```yaml\njobs:\n  clean-logs:\n    runs-on: ubuntu-latest\n    permissions:\n      actions: write\n    steps:\n      - uses: igorjs/gh-actions-clean-workflow@v7\n        with:\n          workflow_names: \"CI, Tests, Deploy\" # Only clean these workflows\n          runs_older_than: 14\n          runs_to_keep: 5\n```\n\n#### Dry Run Mode\n\nPreview what would be deleted without actually deleting:\n\n```yaml\njobs:\n  clean-logs:\n    runs-on: ubuntu-latest\n    permissions:\n      actions: write\n    steps:\n      - uses: igorjs/gh-actions-clean-workflow@v7\n        with:\n          dry_run: true # Preview mode\n          runs_older_than: 7\n```\n\n#### Using Metrics Outputs\n\nUse the exported metrics for monitoring or alerting:\n\n```yaml\njobs:\n  clean-logs:\n    runs-on: ubuntu-latest\n    permissions:\n      actions: write\n    steps:\n      - name: Clean workflow runs\n        id: clean\n        uses: igorjs/gh-actions-clean-workflow@v7\n        with:\n          runs_older_than: 7\n          runs_to_keep: 10\n\n      - name: Display metrics\n        run: |\n          echo \"Total runs found: ${{ steps.clean.outputs.total-runs-found }}\"\n          echo \"Runs deleted: ${{ steps.clean.outputs.runs-deleted }}\"\n          echo \"Runs failed: ${{ steps.clean.outputs.runs-failed }}\"\n          echo \"API requests: ${{ steps.clean.outputs.total-api-requests }}\"\n          echo \"Rate limit hits: ${{ steps.clean.outputs.rate-limit-hits }}\"\n```\n\n#### Manual Trigger\n\n```yaml\nname: Clean Workflow Logs\n\non:\n  workflow_dispatch:\n    inputs:\n      runs_older_than:\n        description: \"The amount of days old to delete\"\n        default: \"7\"\n        required: false\n      runs_to_keep:\n        description: \"The amount of latest workflows runs to keep\"\n        default: \"0\"\n        required: false\n      workflow_names:\n        description: \"Comma-separated workflow names (empty = all)\"\n        default: \"\"\n        required: false\n      dry_run:\n        description: \"Dry run mode (preview only)\"\n        type: boolean\n        default: false\n        required: false\n\njobs:\n  clean-logs:\n    runs-on: ubuntu-latest\n    permissions:\n      actions: write\n    steps:\n      - uses: igorjs/gh-actions-clean-workflow@v7\n        with:\n          runs_older_than: ${{ github.event.inputs.runs_older_than }}\n          runs_to_keep: ${{ github.event.inputs.runs_to_keep }}\n          workflow_names: ${{ github.event.inputs.workflow_names }}\n          dry_run: ${{ github.event.inputs.dry_run }}\n```\n\n#### Scheduled Trigger\n\n```yaml\nname: Clean Workflow Logs\n\non:\n  schedule:\n    - cron: \"0 0 * * 1\"  # Runs \"At 00:00 on Monday.\" (see https://crontab.guru)\n\njobs:\n  clean-logs:\n    runs-on: ubuntu-latest\n    permissions:\n      actions: write\n    steps:\n      - uses: igorjs/gh-actions-clean-workflow@v7\n        with:\n          runs_older_than: \"14\"\n          runs_to_keep: \"20\"\n```\n\n#### Both Manual and Scheduled Triggers\n\n```yaml\nname: Clean Workflow Logs\n\non:\n  schedule:\n    - cron: \"0 0 * * 1\"  # Runs \"At 00:00 on Monday.\" (see https://crontab.guru)\n\n  workflow_dispatch:\n    inputs:\n      runs_older_than:\n        description: \"The amount of days old to delete\"\n        default: \"7\"\n        required: false\n      dry_run:\n        description: \"Dry run mode\"\n        type: boolean\n        default: false\n        required: false\n\nenv:\n  SCHEDULED_RUNS_OLDER_THAN: \"7\"\n  SCHEDULED_RUNS_TO_KEEP: \"20\"\n\njobs:\n  clean-logs:\n    runs-on: ubuntu-latest\n    permissions:\n      actions: write\n    steps:\n      - uses: igorjs/gh-actions-clean-workflow@v7\n        with:\n          runs_older_than: ${{ github.event.inputs.runs_older_than || env.SCHEDULED_RUNS_OLDER_THAN }}\n          runs_to_keep: ${{ github.event.inputs.runs_to_keep || env.SCHEDULED_RUNS_TO_KEEP }}\n          dry_run: ${{ github.event.inputs.dry_run || false }}\n```\n\n## Advanced Features\n\n### Retry Logic\n\nThe action automatically retries failed API requests with exponential backoff:\n- Maximum 3 retry attempts\n- Exponential backoff: 1s, 2s, 4s\n- Retries on: 5xx errors, rate limits (429), network failures\n- No retries on: 4xx client errors (except 429)\n\n### Circuit Breaker\n\nPrevents cascading failures and API abuse:\n- Opens after 5 consecutive failures\n- Automatically recovers after 60 seconds\n- Transitions through CLOSED → OPEN → HALF_OPEN states\n- Metrics tracked via `circuit-breaker-trips` output\n\n### Rate Limiting\n\nBuilt-in rate limit handling:\n- Respects GitHub API rate limits\n- Honors `Retry-After` headers\n- 100ms delay between deletions\n- Metrics tracked via `rate-limit-hits` output\n\n### Workflow Filtering\n\nFilter deletions to specific workflows:\n- Comma-separated workflow names\n- Case-sensitive matching\n- Supports alphanumeric, spaces, dashes, and underscores\n- Example: `workflow_names: \"CI, Deploy, Tests\"`\n\n## Development\n\n### Prerequisites\n\n- Node.js \u003e= 24.0.0\n- npm \u003e= 10.0.0\n\n### Setup\n\n```bash\nnpm install\n```\n\n### Commands\n\n```bash\nnpm run check         # Run Biome linting and formatting checks\nnpm run check:fix     # Auto-fix Biome issues\nnpm run test          # Run tests\nnpm run test:coverage # Run tests with coverage report\nnpm run build         # Build the action\nnpm run all           # Run all checks, tests, and build\n```\n\n### Testing\n\nThe project has comprehensive test coverage (98.93%):\n- 113 tests across 4 test suites\n- Unit tests for all components\n- Integration tests for API interactions\n- Circuit breaker state transition tests\n- Retry logic and error handling tests\n\n## Migration Guide\n\n### From v6 to v7\n\nv7 is a major version with breaking changes and new features:\n\n**Breaking Changes:**\n- Minimum Node.js version increased to 24.0.0\n- Migrated from ESLint + Prettier to Biome.js\n- Logger class converted to individual functions (internal)\n\n**New Features:**\n- Workflow filtering via `workflow_names` parameter\n- Dry run mode via `dry_run` parameter\n- 9 new metric outputs for monitoring\n- Circuit breaker pattern for fault tolerance\n- Automatic retry with exponential backoff\n- Rate limit handling with retry-after support\n\n**Migration:**\n```yaml\n# Old (v6)\n- uses: igorjs/gh-actions-clean-workflow@v6\n  with:\n    runs_older_than: 7\n\n# New (v7)\n- uses: igorjs/gh-actions-clean-workflow@v7\n  with:\n    runs_older_than: 7\n    # Optional new features:\n    workflow_names: \"CI, Deploy\"  # Filter by workflows\n    dry_run: false                # Dry run mode\n```\n\n## License\n\nMIT\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## Support\n\nIf you encounter any issues or have questions, please [open an issue](https://github.com/igorjs/gh-actions-clean-workflow/issues).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figorjs%2Fgh-actions-clean-workflow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Figorjs%2Fgh-actions-clean-workflow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figorjs%2Fgh-actions-clean-workflow/lists"}