# GitHub CLI 2.51.0

DevFeed: [GitHub CLI 2.51.0](<https://devfeed.tech/articles/github-cli-2-51-0-75212.md>)

Original publisher: [Read original article](<https://github.com/cli/cli/releases/tag/v2.51.0>)

Published: 2024-06-13T13:18:45Z

Content type: release

Language: en

Sources: [GitHub CLI](<https://devfeed.tech/sources/github-cli.md>)

Topics: [GitHub CLI extension](<https://devfeed.tech/topics/gh-extension.md>), [GitHub](<https://devfeed.tech/topics/github.md>), [software artifact signing](<https://devfeed.tech/topics/software-artifact-signing.md>)

Tags: [attestation](<https://devfeed.tech/tags/attestation.md>), [github](<https://devfeed.tech/tags/github.md>), [github-cli](<https://devfeed.tech/tags/github-cli.md>), [go](<https://devfeed.tech/tags/go.md>), [golang](<https://devfeed.tech/tags/golang.md>), [provenance](<https://devfeed.tech/tags/provenance.md>), [verify](<https://devfeed.tech/tags/verify.md>)

## AI overview

GitHub CLI 2.51.0 adds signer repository and workflow flags to `gh attestation verify`, switches the attestation command to `--format=json`, and ensures signed RPMs have attestations. The release also includes dependency updates and a fix for graceful handling of annotation errors in `watch`.

## Source excerpt

## What's Changed * Ensure signed RPMs have attestations by @andyfeller in https://github.com/cli/cli/pull/9143 * Add `signer-repo` and `signer-workflow` flags to `gh attestation verify` by @malancas in https://github.com/cli/cli/pull/9137 * Docs: Specify rpm repository to avoid conflicts with community repositories by @hbenali in https://github.com/cli/cli/pull/9151 * Replace `--json-result` flag with `--format=json` in the attestation cmd by @phillmv in https://github.com/cli/cli/pull/9172 * Bump go-keyring to fix keepassxc prompt confirmation by @AlanD20 in https://github.com/cli/cli/pull/9179 * build(deps): bump actions/attest-build-provenance from 1.1.2 to 1.2.0 by @dependabot in https://github.com/cli/cli/pull/9169 * build(deps): bump goreleaser/goreleaser-action from 5 to 6 by @dependabot in https://github.com/cli/cli/pull/9175 * build(deps): bump github.com/gorilla/websocket from 1.5.1 to 1.5.2 by @dependabot in https://github.com/cli/cli/pull/9192 * build(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2 by @dependabot in https://github.com/cli/cli/pull/9197 * watch - handle annotation errors gracefully by @wingleung in https://github.com/cli/cli/pull/9113 ## New Contributors * @hbenali made their first contribution in https://github.com/cli/cli/pull/9151 * @AlanD20 made their first contribution in https://github.com/cli/cli/pull/9179 * @wingleung made their first contribution in https://github.com/cli/cli/pull/9113 **Full Changelog**: https://github.com/cli/cli/compare/v2.50.0...v2.51.0