Open danieljurek opened 2 years ago
There is a larger topic to discuss on whether we want GH CLI as a dependency on our pipelines. It handles errors differently than PowerShell too, so we'd want to be sure we get sufficient benefit for the added complexity of doing this.
CC: @weshaggard
The
gh
CLI offers many of the features we use today (release creation, issue creation, PR creation, etc.) in a more convenient interface: https://cli.github.com/manual/For authenticated calls that aren't directly supported by features there is
[gh api](https://cli.github.com/manual/gh_api)
Authentication is transparent and can use
GH_TOKEN
environment variable.The
gh
CLI is already present on Azure DevOps agents. Incomplete list of examples: