Feature: `github` executor fallback to HTTP if `gh` is not installed
See original GitHub issueDue to the fact that GH CLI is fairly new and almost doesn’t exist on CI/CD agents.
might be trivial to use the same cmd line interface as the version package to reduce the need for multiple CLI’s that do pretty much the same thing, or as a counter suggestion, might be worth considering the creation of a semver:git that will work with the git CLI.
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Windows is not able to recongnise gh as a command ... - GitHub
When i run the command gh --version it is showing me: 'gh' is not recognized as an internal or external command, operable program...
Read more >command not found (gh binary is installed in the wrong path ...
Describe the bug When installing gh on ubuntu environment following installation guide, gh binary is installed in the wrong path ...
Read more >My ideal Rust workflow - fasterthanli.me
Some of my Rust repositories are cargo workspaces, containing multiple crates, some of which have different cargo features. Checking only with " ...
Read more >Managed instances operations - Sourcegraph handbook
To enable executors on a managed instance, see enable executors process. To restore a managed instance in the event of accidental deletion, follow...
Read more >homebrew-core - Homebrew Formulae
a2ps 4.14 Any‑to‑PostScript filter
aacgain 1.8 AAC‑supporting version of mp3gain
aalib 1.4rc5 Portable ASCII art graphics library
aamath 0.3 Renders mathematical expressions as ASCII art
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Since we don’t do the pipeline in dockers, we will need to install on all the agents image the GH cli, our agents are based on K8S cluster for Azure DevOps that we self host, if I’ll add a step to install the GH cli on the pipeline it will slow the CI in a monorepo containing over 16 projects with 12 developers working on it.
While utilizing an http endpoint instead of the GH cli will work out of the box and will do the exact same thing. maybe we can add to the same executor a check if the GH cli exists, it will use it and if not it will resort to using the GITHUB HTTP request.
WDYT?
I agree that we could provide an HTTP fallback if the CLI is not installed.