{"id":16344456,"url":"https://github.com/siddhant-k-code/github-cli-on-gitpod","last_synced_at":"2025-10-11T15:35:15.101Z","repository":{"id":105079960,"uuid":"442801035","full_name":"Siddhant-K-code/github-cli-on-gitpod","owner":"Siddhant-K-code","description":"Test GitHub CLI on Gitpod","archived":false,"fork":false,"pushed_at":"2023-04-22T14:43:40.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-17T23:43:37.644Z","etag":null,"topics":["actions","cli","gh-cli","github","gitpod"],"latest_commit_sha":null,"homepage":"https://dev.to/siddhantkcode/github-cli-on-gitpod-4e84","language":null,"has_issues":false,"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/Siddhant-K-code.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}},"created_at":"2021-12-29T14:41:16.000Z","updated_at":"2022-01-16T11:42:59.000Z","dependencies_parsed_at":"2024-01-07T22:30:49.150Z","dependency_job_id":null,"html_url":"https://github.com/Siddhant-K-code/github-cli-on-gitpod","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Siddhant-K-code/github-cli-on-gitpod","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Siddhant-K-code%2Fgithub-cli-on-gitpod","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Siddhant-K-code%2Fgithub-cli-on-gitpod/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Siddhant-K-code%2Fgithub-cli-on-gitpod/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Siddhant-K-code%2Fgithub-cli-on-gitpod/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Siddhant-K-code","download_url":"https://codeload.github.com/Siddhant-K-code/github-cli-on-gitpod/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Siddhant-K-code%2Fgithub-cli-on-gitpod/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278281206,"owners_count":25961062,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","cli","gh-cli","github","gitpod"],"created_at":"2024-10-11T00:28:24.212Z","updated_at":"2025-10-04T07:20:36.863Z","avatar_url":"https://github.com/Siddhant-K-code.png","language":null,"readme":"## What is GitHub CLI?\n\nIt is GitHub’s official command line tool. It brings pull requests, issues, and other GitHub concepts to the terminal next to where you are already working with git and your code.\n\nSo, Recently GitHub CLI made a new update to Run Your GitHub Workflow Files through Command Line.\n\n## What is GitPod?\n\nGitpod is an open-source Kubernetes application for ready-to-code developer environments that spins up fresh, automated dev environments for each task, in the cloud, in seconds. It enables you to describe your dev environment as code and start instant, remote and cloud-based developer environments directly from your browser or your Desktop IDE.\n\n## Open Your GitHub Repository in Gitpod:\n\njust add this prefix following to your github repository: `https://gitpod.io/#`\n\nExample: `https://gitpod.io/#https://github.com/GITHUB_USERNAME/REPOSITORY_NAME/`\n\n## GitHub CLI Setup at Gitpod ([official docs](https://cli.github.com/manual/installation)):\n\nRun Following Commands:\n\n```sh\ncurl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg\necho \"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main\" | sudo tee /etc/apt/sources.list.d/github-cli.list \u003e /dev/null\nsudo apt update\nsudo apt install gh\n```\n\n```sh\nsudo apt update\nsudo apt install gh\n```\n\nOutput:\n\n![Installation of GitHub CLI on Gitpod](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zl63b9f2xoswealtdj2a.png)\n\n## Setting up the Workflow:\n\n- Create a empty file under `.github/workflows/` named as `github-action-demo.yml`\n\n- File Content:\n\n    ```yml\n    name: Demo\n\n    on:\n    # Triggers the workflow on push or pull request events but only for the main branch\n    pull_request:\n        branches: [main]\n\n    # Allows you to run this workflow manually from the Actions tab\n    workflow_dispatch:\n\n    jobs:\n    cli-gitpod:\n        name: CLI and Gitpod Demo\n        runs-on: ubuntu-latest\n        steps:\n        - name: Hello From Gitpod\n            run: |\n            echo \"Hello! From Gitpod 🍊\"\n    ```\n\n## Login with gh cli\n\n- Run:\n\n    ```sh\n    gh auth login\n    ```\n\n- Complete whole step and login.\n\n## Test \u0026 Run GitHub Workflow with gh cli:\n\n- To View the list of your workflows:\n\n    ```sh\n    gh workflow list\n    ```\n\u003e you Will not see anything, because you first have to enbale that workflow.\n\n- To Enable the workflow:\n\n    ```sh\n    gh workflow enable\n    ```\n![Workflow Enabled](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pvzq20e335rgh63dwsh1.png)\n\n-  To Run the Workflow:\n\n    ```sh\n    gh workflow run demo\n    ```\n\u003e Here `demo` was my workflow name, you can replace it with your workflow's name.\n\n![Workflow Run](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s2jmvjnjcqvpf3fezdsl.png)\n\nOn GitHub Dashboard:\n\n![GitHub Dashboard](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0ze6hhbudlbtoipqy2oa.png)\n\n- run history list \u0026 analysis:\n\n    ```sh\n    gh run list --workflow=github-action-demo.yml\n    ```\n\u003e `github-action-demo.yml` is the filename, replace it with your workflow's filename.\n\n![Run List](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/x3vq1z7mhfxfwvh37zuu.png)\n\n- Specific Result of any run ID:\n\n    ```sh\n    gh run view 1703727006\n    ```\n\u003e `1703727006` is ID, replace it with your workflow run ID.\n\n![Github workflow run view](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j51bds0b8s7d4sy5ii11.png)\n\n---\n\n## Similarly, You Can Run all GitHub CLI Commands in GitPod ([gh cli commands](https://cli.github.com/manual/gh))\n\n---\n\n[![Contribute in the browser using Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/Siddhant-K-code/youtube-views-badge)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiddhant-k-code%2Fgithub-cli-on-gitpod","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsiddhant-k-code%2Fgithub-cli-on-gitpod","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiddhant-k-code%2Fgithub-cli-on-gitpod/lists"}