{"id":16239231,"url":"https://github.com/pierluigi/gha-cleanup","last_synced_at":"2026-01-20T13:02:01.934Z","repository":{"id":42298609,"uuid":"236850133","full_name":"pierluigi/gha-cleanup","owner":"pierluigi","description":"A simple NodeJS CLI script to list and delete action artifacts in bulk","archived":false,"fork":false,"pushed_at":"2023-01-13T01:55:34.000Z","size":864,"stargazers_count":2,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-07T20:23:53.064Z","etag":null,"topics":["actions","nodejs-cli"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pierluigi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-28T21:51:35.000Z","updated_at":"2020-02-21T10:50:19.000Z","dependencies_parsed_at":"2023-02-09T14:15:29.640Z","dependency_job_id":null,"html_url":"https://github.com/pierluigi/gha-cleanup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pierluigi/gha-cleanup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pierluigi%2Fgha-cleanup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pierluigi%2Fgha-cleanup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pierluigi%2Fgha-cleanup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pierluigi%2Fgha-cleanup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pierluigi","download_url":"https://codeload.github.com/pierluigi/gha-cleanup/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pierluigi%2Fgha-cleanup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28603404,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T12:01:53.233Z","status":"ssl_error","status_checked_at":"2026-01-20T12:01:46.545Z","response_time":117,"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":["actions","nodejs-cli"],"created_at":"2024-10-10T13:42:49.759Z","updated_at":"2026-01-20T13:02:01.915Z","avatar_url":"https://github.com/pierluigi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gha-cleanup - Clean up GitHub Actions artifacts\n\nList and delete artifacts created by GitHub Actions in your repository.\nRequires a Personal Access Token with full repo permissions.\n\n![Screenshot](screenshot.png?raw=true \"Script in action\")\n\n# Instructions\n\n```\nyarn install\nnpm link // Optional step. Call ./cli.js instead\n\n// Options can be supplied interactively or via flags\n\n$ gha-cleanup --help\nUsage: gha-cleanup [options]\n\nOptions:\n  -t, --token \u003cPAT\u003e        Your GitHub PAT\n  -u, --user \u003cusername\u003e    Your GitHub username\n  -r, --repo \u003crepository\u003e  Repository name\n  -h, --help               output usage information\n\n```\n\n# Configuration\n\nYou can pass the PAT and username directly from the prompt. To avoid repeating yourself all the time, create a .env file in the root (don't worry, it will be ignored by git) and set:\n\n```\n$GH_PAT=\u003cYour-GitHub-Personal-Access-Token\u003e\n$GH_USER=\u003cYour-GitHub-Username\u003e\n```\n\nThen you can simply invoke `gha-cleanup` and confirm the prefilled values.\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpierluigi%2Fgha-cleanup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpierluigi%2Fgha-cleanup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpierluigi%2Fgha-cleanup/lists"}