This repository has been archived by the owner on Mar 8, 2022. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Updating package gh to release v1.9.0.
Release info
New Features
GitHub Actions in the CLI
Three new top-level commands have been added to
gh
:gh run
lists, views, and interacts with workflow runsgh workflow
lists, views, runs, and toggles workflow filesgh actions
prints information about the integration betweengh
and GitHub ActionsYou can now get insight into what GitHub Actions is running across your repository with
and dig into specifics with
Run
gh actions
to learn more and get started.This was a huge effort that brought in the entire CLI team as well as a lot of community input and feedback. We're excited for you to try it out!
Please let us know what you get up to with this new integration or if you have suggestions for our next iteration of support in our https://github.com/cli/cli/discussions/3422.
Issue and pull request commands now support JSON export
Issue and pull request
list
,view
, andstatus
commands now support the--json
option which enables the JSON output format suitable for scripts.The
--json
flag accepts a comma-separated list of data fields to request from the GitHub server. Field names must always be specified to use this feature. To see the list of available fields, use the--json
flag without a value.Additionally, any command that accepts
--json
also supports https://github.com/cli/cli/releases/tag/v1.7.0 that were previously available only in thegh api
command. These options allow filtering down or transforming the resulting JSON into something more immediately usable by shell scripts. Refer togh help formatting
for more information.Development and Documentation Updates