GitHub’s official command line tool
run list
doc with available --json
fields by @babakks in https://github.com/cli/cli/pull/8934
gh release create
docs by @kuzdogan in https://github.com/cli/cli/pull/8987
Full Changelog: https://github.com/cli/cli/compare/v2.49.1...v2.49.2
attestation
command set integration tests separately by @malancas in https://github.com/cli/cli/pull/9035
attestation verify
source repository check bug by @malancas in https://github.com/cli/cli/pull/9053
Full Changelog: https://github.com/cli/cli/compare/v2.49.0...v2.49.1
v2.49.0
release introduces the attestation
command set for downloading and verifying attestations about artifacts built in GitHub Actions! This is part of the larger Artifact Attestations initiative. An artifact attestation is a piece of cryptographically signed metadata that is generated as part of your artifact build process. These attestations bind artifacts to the details of the workflow run that produced them, and allow you to guarantee the integrity and provenance of any artifact built in GitHub Actions.
# Verify a local artifact
gh attestation verify artifact.bin -o <your org>
# Verify a local artifact against a local artifact attestation
gh attestation verify artifact.bin -b ./artifact-v0.0.1-bundle.json -o <your org>
# Verify an OCI image
gh attestation verify oci://ghcr.io/foo/bar:latest -o <your org>
# Download artifact attestations
gh attestation download artifact.bin -o <your org>
To get started, check out gh help attestation. You can also use the gh at <command>
alias for short.
sigstore-go
dependency to v0.3.0 by @malancas in https://github.com/cli/cli/pull/8977
gh attestation tuf-root-verify
offline test fix by @malancas in https://github.com/cli/cli/pull/8975
gh attestation verify
output by @malancas in https://github.com/cli/cli/pull/8991
Hidden
flag from gh attestation
command by @malancas in https://github.com/cli/cli/pull/8998
gh secret set
by @NeroBlackstone in https://github.com/cli/cli/pull/9004
gh attestation verify
by @steiza in https://github.com/cli/cli/pull/8997
projectsV2
to JSON fields of gh repo
commands by @babakks in https://github.com/cli/cli/pull/9007
gh repo clone
by @babakks in https://github.com/cli/cli/pull/9008
Full Changelog: https://github.com/cli/cli/compare/v2.48.0...v2.49.0
--slurp
ing JSON responses in gh api
by @heaths in https://github.com/cli/cli/pull/8620
--skip-ssh-key
option to gh auth login
command by @babakks in https://github.com/cli/cli/pull/8935
numSelectedRepos
to JSON output of gh secret list
by @babakks in https://github.com/cli/cli/pull/8899
gh api
nested array by @Ebonsignori in https://github.com/cli/cli/pull/8762
gh repo rename
by @babakks in https://github.com/cli/cli/pull/8906
gh pr lock/unlock
not working when URL is passed by @t4kamura in https://github.com/cli/cli/pull/8837
go.mod
by @matthewhughes934 in https://github.com/cli/cli/pull/8958
go
directive in go.mod
by @matthewhughes934 in https://github.com/cli/cli/pull/8956
attestation
command set by @malancas in https://github.com/cli/cli/pull/8919
attestation
cmd offline unit test failure by @malancas in https://github.com/cli/cli/pull/8933
attestation
command for more predicate types. by @steiza in https://github.com/cli/cli/pull/8949
Full Changelog: https://github.com/cli/cli/compare/v2.47.0...v2.48.0
gh repo rename
by @satoqz in https://github.com/cli/cli/pull/8888
Full Changelog: https://github.com/cli/cli/compare/v2.46.0...v2.47.0
project item-list
output by @yasunori0418 in https://github.com/cli/cli/pull/8754
--dry-run
option for pr create
by @v1v in https://github.com/cli/cli/pull/8376
codespaces
code comments by @cuinix in https://github.com/cli/cli/pull/8795
-u
, --user
option for gh auth token
by @gregsmi in https://github.com/cli/cli/pull/8797
release upload
by @malor in https://github.com/cli/cli/pull/8834
auth status
to list all authenticated accounts by @jsoref in https://github.com/cli/cli/pull/8838
Full Changelog: https://github.com/cli/cli/compare/v2.45.0...v2.46.0
pr create
by @williammartin in https://github.com/cli/cli/pull/8768
ref
option to gh cache list
by @toshimaru in https://github.com/cli/cli/pull/8711
project view --web
with TTY by @harveysanders in https://github.com/cli/cli/pull/8773
Full Changelog: https://github.com/cli/cli/compare/v2.44.1...v2.45.0
Full Changelog: https://github.com/cli/cli/compare/v2.44.0...v2.44.1
gh cache list
by @toshimaru in https://github.com/cli/cli/pull/8667
Full Changelog: https://github.com/cli/cli/compare/v2.43.1...v2.44.0
Full Changelog: https://github.com/cli/cli/compare/v2.43.0...v2.43.1