{"id":18185096,"url":"https://github.com/pete911/gh","last_synced_at":"2026-05-16T11:04:27.710Z","repository":{"id":38260757,"uuid":"352175014","full_name":"pete911/gh","owner":"pete911","description":"GitHub tools","archived":false,"fork":false,"pushed_at":"2026-05-07T06:58:42.000Z","size":9515,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-07T08:40:18.774Z","etag":null,"topics":["clone-repos","github","list-repository"],"latest_commit_sha":null,"homepage":"","language":"Go","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/pete911.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,"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":"2021-03-27T20:53:46.000Z","updated_at":"2026-05-07T06:58:40.000Z","dependencies_parsed_at":"2023-02-15T06:31:59.893Z","dependency_job_id":"66879e40-adba-4392-aa2c-676faf1a78d0","html_url":"https://github.com/pete911/gh","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pete911/gh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pete911%2Fgh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pete911%2Fgh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pete911%2Fgh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pete911%2Fgh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pete911","download_url":"https://codeload.github.com/pete911/gh/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pete911%2Fgh/sbom","scorecard":{"id":728437,"data":{"date":"2025-08-11","repo":{"name":"github.com/pete911/gh","commit":"a760572a6ecc3a294f80c53483ea4ee7ade85bc3"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"name":"Maintained","score":1,"reason":"2 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: topLevel 'contents' permission set to 'write': .github/workflows/pipeline.yml:6","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":"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":"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":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"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":"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":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/pipeline.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/pete911/gh/pipeline.yml/main?enable=pin","Warn: goCommand not pinned by hash: vendor/github.com/go-git/go-git/v5/oss-fuzz.sh:20","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 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":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for 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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 28 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":10,"reason":"0 existing vulnerabilities detected","details":null,"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-22T13:37:51.231Z","repository_id":38260757,"created_at":"2025-08-22T13:37:51.231Z","updated_at":"2025-08-22T13:37:51.231Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33100321,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["clone-repos","github","list-repository"],"created_at":"2024-11-02T22:22:23.085Z","updated_at":"2026-05-16T11:04:27.684Z","avatar_url":"https://github.com/pete911.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gh\n\n[![pipeline](https://github.com/pete911/gh/actions/workflows/pipeline.yml/badge.svg)](https://github.com/pete911/gh/actions/workflows/pipeline.yml)\n\nGitHub tools\n\n## install\n\n- install [go](https://golang.org/doc/install)\n- run `make install`\n\n## setup\n\nProject works with public repositories out of the box. To be able to use it with private repositories, create\n[personal access token](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token)\non GitHub and export it under `GITHUB_TOKEN` env. variable.\n\n### clone all repositories\n\n```shell\n# clones repositories for specified org to current directory, if GITHUB_TOKEN env. variable is\n# exported, private # repositories are cloned as well\n# flags:\n#   -o, --output   git clone destination directory, defaults to current directory\ngh clone org-repos \u003corg\u003e\n\n# clones repositories for specified user to current directory, either user has to be specified\n# (all public repositories # are cloned) or GITHUB_TOKEN env. variable has to be exported (all\n# repositories owned by the user are cloned)\n# flags:\n#   -o, --output   git clone destination directory, defaults to current directory\ngh clone user-repos [user]\n```\n\n#### example\n\n```shell\n$ gh clone org-repos ori-edge\n1:00PM INF got 2 repositories\nEnumerating objects: 10, done.\nCounting objects: 100% (10/10), done.\nCompressing objects: 100% (9/9), done.\nTotal 10 (delta 1), reused 6 (delta 0), pack-reused 0\n1:00:05 INF cloned https://github.com/ori-edge/all-in-one-opennebula.git to /tmp/github.com/all-in-one-opennebula\n1:00:06 WRN git clone: repository https://github.com/ori-edge/k8s_gateway.git already exists in /tmp/github.com/k8s_gateway\n```\n\n### list all repositories\n\n```shell\n# lists repositories for specified org, if GITHUB_TOKEN env. variable is exported, private\n# repositories are listed as well\n# flags:\n#   --no-forks         exclude forked repositories in the list\n#   --sort-by string   sort output by visibility, size, language, issues or stars\ngh list org-repos \u003corg\u003e\n\n# lists repositories for specified user, either user has to be specified (all public\n# repositories are listed) or GITHUB_TOKEN env. variable has to be exported (all\n# repositories owned by the user are listed)\n# flags:\n#   --no-forks         exclude forked repositories in the list\n#   --sort-by string   sort output by visibility, size, language, issues or stars\ngh list user-repos [user]\n```\n\n#### example\n\n```shell\n$ gh list user-repos kiich\nName                      Visibility Size  Language Issues Stars Topics Fork\nansible-recipes           public     21    Python   0      0     []     true\nflux-get-started          public     79    Smarty   0      0     []     true\nhelm                      public     4908  Go       0      0     []     true\nhelm-operator-get-started public     544            0      0     []     true\nkube-aws                  public     36151 Go       0      0     []     true\nlogrotate                 public     60    Shell    0      0     []     true\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpete911%2Fgh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpete911%2Fgh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpete911%2Fgh/lists"}