{"id":13895017,"url":"https://github.com/imsky/github-fresh","last_synced_at":"2025-04-11T04:10:37.879Z","repository":{"id":64302659,"uuid":"183341191","full_name":"imsky/github-fresh","owner":"imsky","description":":octocat: Keep your GitHub repo fresh.","archived":false,"fork":false,"pushed_at":"2020-10-05T19:47:34.000Z","size":44,"stargazers_count":10,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T02:13:00.770Z","etag":null,"topics":["branch","git","github","pull-requests"],"latest_commit_sha":null,"homepage":"","language":"Go","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/imsky.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-04-25T02:29:00.000Z","updated_at":"2023-03-10T10:53:43.000Z","dependencies_parsed_at":"2023-01-15T09:45:32.015Z","dependency_job_id":null,"html_url":"https://github.com/imsky/github-fresh","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imsky%2Fgithub-fresh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imsky%2Fgithub-fresh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imsky%2Fgithub-fresh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imsky%2Fgithub-fresh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imsky","download_url":"https://codeload.github.com/imsky/github-fresh/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248339224,"owners_count":21087215,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["branch","git","github","pull-requests"],"created_at":"2024-08-06T18:01:56.195Z","updated_at":"2025-04-11T04:10:37.858Z","avatar_url":"https://github.com/imsky.png","language":"Go","readme":"# github-fresh\n\n[![pipeline status](https://gitlab.com/imsky/github-fresh/badges/master/pipeline.svg)](https://gitlab.com/imsky/github-fresh/commits/master) [![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/imsky/github-fresh.svg)](https://hub.docker.com/r/imsky/github-fresh) [![coverage report](https://gitlab.com/imsky/github-fresh/badges/master/coverage.svg)](https://gitlab.com/imsky/github-fresh/commits/master)\n\ngithub-fresh deletes branches of closed pull requests.\n\n## Usage\n\n```bash\n# default usage\ngithub-fresh -user=imsky -repo=github-fresh\n\n# see what branches would be deleted from pull requests closed in the last month\ngithub-fresh -user=imsky -repo=github-fresh -days=30 -dry=true\n\ngithub-fresh -help\n  -days int\n    \tMax age in days of checked pull requests (GITHUB_FRESH_DAYS) (default 1)\n  -dry\n    \tDry run (GITHUB_FRESH_DRY)\n  -repo string\n    \tGitHub repo (GITHUB_FRESH_REPO)\n  -token string\n    \tGitHub API token (GITHUB_FRESH_TOKEN)\n  -user string\n    \tGitHub user (GITHUB_FRESH_USER)\n```\n\n## Installation\n\n### Homebrew\n\n```sh\nbrew tap imsky/github-fresh https://github.com/imsky/github-fresh.git\nbrew install --HEAD imsky/github-fresh/github-fresh\n```\n\n### Releases\n\nDownload the binary for your platform from the [releases](https://github.com/imsky/github-fresh/releases) page.\n\n### Docker\n\n```sh\ndocker pull imsky/github-fresh\ndocker run -it -e GITHUB_FRESH_TOKEN imsky/github-fresh -user=imsky -repo=github-fresh -dry=true\n```\n\n### Go\n\n```sh\ngo get -u github.com/imsky/github-fresh\n```\n\n## License\n\ngithub-fresh is provided under the [MIT License](./LICENSE).\n\n## Credits\n\ngithub-fresh is a project by [Ivan Malopinsky](http://imsky.co).\n","funding_links":[],"categories":["Go"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimsky%2Fgithub-fresh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimsky%2Fgithub-fresh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimsky%2Fgithub-fresh/lists"}