{"id":38759788,"url":"https://github.com/fhopfensperger/git-remote-cleanup","last_synced_at":"2026-01-17T11:56:27.024Z","repository":{"id":38272264,"uuid":"286203310","full_name":"fhopfensperger/git-remote-cleanup","owner":"fhopfensperger","description":"A tool to delete no longer needed release branches from a remote repository.","archived":false,"fork":false,"pushed_at":"2026-01-15T22:00:14.000Z","size":414,"stargazers_count":2,"open_issues_count":14,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-16T01:32:52.002Z","etag":null,"topics":["git","semver"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fhopfensperger.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":".github/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}},"created_at":"2020-08-09T09:09:25.000Z","updated_at":"2025-09-08T08:46:42.000Z","dependencies_parsed_at":"2024-01-23T22:31:17.605Z","dependency_job_id":"134d19a1-6ec2-484f-92ec-b5c86431b26f","html_url":"https://github.com/fhopfensperger/git-remote-cleanup","commit_stats":null,"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"purl":"pkg:github/fhopfensperger/git-remote-cleanup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fhopfensperger%2Fgit-remote-cleanup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fhopfensperger%2Fgit-remote-cleanup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fhopfensperger%2Fgit-remote-cleanup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fhopfensperger%2Fgit-remote-cleanup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fhopfensperger","download_url":"https://codeload.github.com/fhopfensperger/git-remote-cleanup/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fhopfensperger%2Fgit-remote-cleanup/sbom","scorecard":{"id":330184,"data":{"date":"2025-08-11","repo":{"name":"github.com/fhopfensperger/git-remote-cleanup","commit":"ebee1e2f07b544120e253e7d7ecb2384570a43e9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/1 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":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/go.yml:1","Info: no jobLevel write permissions found"],"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":"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":"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":"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":"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: Apache License 2.0: 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":"Pinned-Dependencies","score":1,"reason":"dependency not pinned by hash detected -- score normalized to 1","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/fhopfensperger/git-remote-cleanup/go.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/fhopfensperger/git-remote-cleanup/go.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/go.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/fhopfensperger/git-remote-cleanup/go.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/go.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/fhopfensperger/git-remote-cleanup/go.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/go.yml:59: update your workflow using https://app.stepsecurity.io/secureworkflow/fhopfensperger/git-remote-cleanup/go.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/go.yml:75: update your workflow using https://app.stepsecurity.io/secureworkflow/fhopfensperger/git-remote-cleanup/go.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/go.yml:79: update your workflow using https://app.stepsecurity.io/secureworkflow/fhopfensperger/git-remote-cleanup/go.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/go.yml:83: update your workflow using https://app.stepsecurity.io/secureworkflow/fhopfensperger/git-remote-cleanup/go.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/go.yml:91: update your workflow using https://app.stepsecurity.io/secureworkflow/fhopfensperger/git-remote-cleanup/go.yml/master?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1","Warn: containerImage not pinned by hash: Dockerfile:9: pin your Docker image by updating alpine:3.21 to alpine:3.21@sha256:b6a6be0ff92ab6db8acd94f5d1b7a6c2f0f5d10ce3c24af348d333ac6da80685","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   7 third-party GitHubAction dependencies pinned","Info:   0 out of   2 containerImage dependencies pinned","Info:   1 out of   1 goCommand 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":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.3.14 not signed: https://api.github.com/repos/fhopfensperger/git-remote-cleanup/releases/196436501","Warn: release artifact v0.3.13 not signed: https://api.github.com/repos/fhopfensperger/git-remote-cleanup/releases/162633911","Warn: release artifact v0.3.12 not signed: https://api.github.com/repos/fhopfensperger/git-remote-cleanup/releases/111402177","Warn: release artifact v0.3.11 not signed: https://api.github.com/repos/fhopfensperger/git-remote-cleanup/releases/98887686","Warn: release artifact v0.3.10 not signed: https://api.github.com/repos/fhopfensperger/git-remote-cleanup/releases/98423881","Warn: release artifact v0.3.14 does not have provenance: https://api.github.com/repos/fhopfensperger/git-remote-cleanup/releases/196436501","Warn: release artifact v0.3.13 does not have provenance: https://api.github.com/repos/fhopfensperger/git-remote-cleanup/releases/162633911","Warn: release artifact v0.3.12 does not have provenance: https://api.github.com/repos/fhopfensperger/git-remote-cleanup/releases/111402177","Warn: release artifact v0.3.11 does not have provenance: https://api.github.com/repos/fhopfensperger/git-remote-cleanup/releases/98887686","Warn: release artifact v0.3.10 does not have provenance: https://api.github.com/repos/fhopfensperger/git-remote-cleanup/releases/98423881"],"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":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"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":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/go.yml:13"],"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":"Vulnerabilities","score":6,"reason":"4 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2025-3754 / GHSA-2x5j-vhc8-9cwm","Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77","Warn: Project is vulnerable to: GO-2025-3503 / GHSA-qxp5-gwg8-xv66","Warn: Project is vulnerable to: GO-2025-3595 / GHSA-vvgc-356p-c3xw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 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"}}]},"last_synced_at":"2025-08-18T03:22:50.866Z","repository_id":38272264,"created_at":"2025-08-18T03:22:50.866Z","updated_at":"2025-08-18T03:22:50.866Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28508464,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T11:50:55.898Z","status":"ssl_error","status_checked_at":"2026-01-17T11:50:55.569Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["git","semver"],"created_at":"2026-01-17T11:56:26.926Z","updated_at":"2026-01-17T11:56:27.003Z","avatar_url":"https://github.com/fhopfensperger.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-remote-cleanup\n![Go](https://github.com/fhopfensperger/git-remote-cleanup/workflows/Go/badge.svg)\n[![Go Report Card](https://goreportcard.com/badge/github.com/fhopfensperger/git-remote-cleanup)](https://goreportcard.com/report/github.com/fhopfensperger/git-remote-cleanup)\n[![Coverage Status](https://coveralls.io/repos/github/fhopfensperger/git-remote-cleanup/badge.svg?branch=master)](https://coveralls.io/github/fhopfensperger/git-remote-cleanup?branch=master)\n[![Release](https://img.shields.io/github/release/fhopfensperger/git-remote-cleanup.svg?style=flat-square)](https://github.com//fhopfensperger/git-remote-cleanup/releases/latest)\n\n\nGet and delete no longer needed release branches from a remote repository.\n\n# Usage\n\n## All commands and flags\n\n```bash\nAvailable Commands:\n  branches    Get remote branches\n  delete      Delete old branches, keeps every latest patch version\n  help        Help about any command\n\nFlags:\n  -f, --file string     Uses repos from file (one repo per line)\n  -b, --filter string   Which branches should be filtered e.g. release\n  -h, --help            help for git-remote-cleanup\n  -p, --pat string      Use a Git Personal Access Token instead of the default private certificate! You could also set a environment variable. \"export PAT=123456789\" \n  -r, --repos strings   Git Repo urls e.g. git@github.com:fhopfensperger/my-repo.git\n  -v, --version         version for git-remote-cleanup\n```\n\nNote: All flags can be set using environment variables, for example:\n```bash\nexport REPOS=git@github.com:fhopfensperger/my-repo.git\nexport PAT=1234567890abcdef\n...\n```\n\n# Installation\n\n## Homebrew\n\n```bash\nbrew install fhopfensperger/tap/git-remote-cleanup\n```\n\n## Script\n\n```bash\ncurl https://raw.githubusercontent.com/fhopfensperger/git-remote-cleanup/master/get.sh | bash\n```\n\n## Manually\n\nGo to [Releases](https://github.com/fhopfensperger/git-remote-cleanup/releases) download the latest release according to your processor architecture and operating system, then unarchive and copy it to the right location\n\n```bash\ntar xvfz git-remote-cleanup_x.x.x_darwin_amd64.tar.gz\ncd git-remote-cleanup_x.x.x_darwin_amd64\nchmod +x git-remote-cleanup\nsudo mv git-remote-cleanup /usr/local/bin/\n```\n\n## Run as container\n\nBesides installing the binary on the local computer, you have the option to run the program as a container\n```bash\n# Using a single repo\ndocker run -it --rm ghcr.io/fhopfensperger/git-remote-cleanup branches -r https://github.com/fhopfensperger/git-remote-cleanup.git -b master -p 123\n\n# Using a file to define multiple repos\ndocker run -it --rm -v $(pwd)/repos_http.txt:/app/repos_http.txt ghcr.io/fhopfensperger/git-remote-cleanup branches -f repos_http.txt -b master -p 123\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffhopfensperger%2Fgit-remote-cleanup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffhopfensperger%2Fgit-remote-cleanup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffhopfensperger%2Fgit-remote-cleanup/lists"}