{"id":13708177,"url":"https://github.com/github-developer/example-setup-gh","last_synced_at":"2025-05-06T07:31:53.649Z","repository":{"id":97208262,"uuid":"311802662","full_name":"github-developer/example-setup-gh","owner":"github-developer","description":"An example action, demonstrating how CLI authors may develop actions that allow setup their of CLIs on GitHub's hosted runners, using JavaScript","archived":false,"fork":false,"pushed_at":"2025-02-26T20:55:31.000Z","size":684,"stargazers_count":16,"open_issues_count":9,"forks_count":10,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-02T09:50:16.868Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://git.io/setting-up-a-cli-on-github-s-hosted-runners","language":"JavaScript","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/github-developer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-10T22:44:52.000Z","updated_at":"2025-04-14T17:52:17.000Z","dependencies_parsed_at":"2023-03-17T04:00:46.393Z","dependency_job_id":null,"html_url":"https://github.com/github-developer/example-setup-gh","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github-developer%2Fexample-setup-gh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github-developer%2Fexample-setup-gh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github-developer%2Fexample-setup-gh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github-developer%2Fexample-setup-gh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/github-developer","download_url":"https://codeload.github.com/github-developer/example-setup-gh/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252640085,"owners_count":21780869,"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":[],"created_at":"2024-08-02T22:01:58.198Z","updated_at":"2025-05-06T07:31:53.644Z","avatar_url":"https://github.com/github-developer.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# :gear: `setup-gh` ![](https://github.com/github-developer/setup-gh/workflows/Tests/badge.svg)\n\u003e An example action, demonstrating how CLI authors may develop actions that allow setup their of CLIs on GitHub's  hosted runners, using JavaScript\n\n## About\nThis action, which is intended _for demonstration use only_, sets up the GitHub CLI, [`gh`](https://github.com/cli/cli), on GitHub's hosted Actions runners.\n\nThis action can be run on `ubuntu-latest`, `windows-latest`, and `macos-latest` GitHub Actions runners, and will install and expose a specified version of the `gh` CLI on the runner environment.\n\n## Usage\n\nSetup the `gh` CLI:\n\n```yaml\nsteps:\n- uses: github-developer/setup-gh@v1\n```\n\nA specific version of the `gh` CLI can be installed:\n\n```yaml\nsteps:\n- uses: github-developer/setup-gh@v1\n  with:\n    version:\n      1.1.0\n```\n\n## Inputs\nThe actions supports the following inputs:\n\n- `version`: The version of `gh` to install, defaulting to `1.2.0`\n\n## Further reading\nFor information on Creating a JavaScript action, read [the docs](https://docs.github.com/actions/creating-actions/creating-a-javascript-action).\n\n## License\n[MIT](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithub-developer%2Fexample-setup-gh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgithub-developer%2Fexample-setup-gh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithub-developer%2Fexample-setup-gh/lists"}