GitHub CLI 2.49.0
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/8977gh attestation tuf-root-verify offline test fix by @malancas in https://github.com/cli/cli/pull/8975gh attestation verify output by @malancas in https://github.com/cli/cli/pull/8991Hidden flag from gh attestation command by @malancas in https://github.com/cli/cli/pull/8998gh secret set by @NeroBlackstone in https://github.com/cli/cli/pull/9004gh attestation verify by @steiza in https://github.com/cli/cli/pull/8997projectsV2 to JSON fields of gh repo commands by @babakks in https://github.com/cli/cli/pull/9007gh repo clone by @babakks in https://github.com/cli/cli/pull/9008Full Changelog: https://github.com/cli/cli/compare/v2.48.0...v2.49.0
Fetched April 8, 2026