Update Info

openSUSE-2025-104


Recommended update for gh


Type: recommended
Severity: moderate
Issued: 2025-03-24
Description:
This update for gh fixes the following issues:

- Update to version 2.68.1:

  * Fix secret command panic when base repo from cwd
  * Fix(ci): base64 decode GPG passphrase
  * Update pkg/cmd/attestation/verification/attestation.go
  * Update pkg/cmd/attestation/verification/attestation.go
  * Fix acceptance test descriptions
  * Fix gh secret disambiguity test
  * Expand gh secret acceptance tests
  * Expand gh secret base repo tests
  * [gh secret] Check `GH_REPO` too in addition to `--repo` for disambiguation
  * Deep Dive Document Release Process (#10503)
  * Fix unhandled panic in FindWorkflow and add tests
  * Bump actions/attest-build-provenance from 2.2.0 to 2.2.2
  * Fix checkout when URL arg is from fork and cwd is upstream
  * Update `project` help text; fix `unlink` usage
  * Inconsistent format of examples in help text
  * Inconsistent format of description of flags (starting with lowercase letter) (#10507)
  * Update Go version to 1.23 in CONTRIBUTING.md
  * Fix minor auth login help typo
  * Add docs; rename function name
  * Bump github.com/go-jose/go-jose/v4 from 4.0.2 to 4.0.5
  * docs: OAuth doc link moves to newline
  * fix expected test output
  * undo regex changes
  * remove signer-ref option
  * chore: update go version in devcontainer
  * docs: warn about process revoking all tokens
  * docs: document how to revoke `gh` OAuth tokens
  * refactor: use a more straightforward return value
  * Test pr checkout force on different branch
  * [gh pr checkout] Add --no-tags option to git fetch commands in checkout logic
  * Allow injection of TUFMetadataDir in tests
  * Refactor remote resolver caching tests
  * Fix `remoteResolver` caching issue
  * Address pr comments
  * Add test for item-edit --number 0
  * Support setting project item number to 0
  * Wrap error
  * Rename flag to `--fail-on-no-commits`
  * Update tests
  * Fix non-TTY case
  * Suggestions to enhance upstream default handling
  * Use API REST Client
  * Use subtests in attestation verification integration tests
  * update default upstream when forking repo
  * Update usage to lower-kebab-case
  * Fix typo in README
  * Add missing <> in gh auth login docs
  * Add mutex to fix race in attestation test client
  * Update tests
  * Remove trailing whitespace
  * Standardize URLs
  * [gh issue/pr comment] Create a comment if no comment already
  * Update tests
  * Address review comments
  * Align no default repo message with other uses
  * [gh release create] Fail when there are no new commits since the most recent release
  * Use API without shorthand flag
  * Update tests
  * [gh api] Escape package name (URL encoding) for packages endpoint
  * remove custom transport
  * var naming
  * dedup local bundle err handling
  * Update tests
  * Add test cases for succeed on no cache and api errors for --all (#1)
  * Remove short (abbreviated) flag support
  * Address PR review comments
  * add checks to cert extensions func
  * fix option ordering
  * fix issues causing tests to fail
  * add signer and source ref, commit options
  * Bump github.com/spf13/pflag from 1.0.5 to 1.0.6
  * [gh repo view] Improve error message for forked repo
  * [gh cache delete --all] Add `--succeed-on-no-caches` flag to return exit code 0
  * set new options in enforcement criteria
  * reorder fields
  * add new signing options

- Update to version 2.67.0:
  * Exit with error if no matching predicate type exists
  * Fix logic error in contributing docs
  * Improve http error test cases
  * Handle non-TTY behavior
  * Do not try to parse bodies for HEAD requests
  * Update pkg/cmd/pr/status/status.go
  * Collapse related instructions
  * Remove redundant instructions
  * Update language
  * [gh pr status] Mention `gh pr checks` in the `Long` section
  * Update release doc content
  * Doc: Clarify guidelines for `help wanted` issues and prs
  * Bump google.golang.org/protobuf from 1.36.4 to 1.36.5
  * Update tests
  * [gh project item-edit] Fix number type
  * Address review comments
  * Address review comments
  * Revert breaking change
  * Revert "[gh repo edit] Allow setting commit message defaults"
  * Use HTML numeric code instead of escaping with slash
  * [gh config] Escape pipe symbol in Long desc for website manual
  * Ensure item iteration field is populated in tests
  * Drop accidental help text change
  * Error when `gh repo rename` is used with a new repo name that contains an owner
  * [gh repo edit] Allow setting commit title defaults
  * Rename staggler
  * Formatting
  * AuoLink -> Autolink
  * Use http constants
  * refac and some spacing in output
  * More consistency
  * whitespace
  * clean up
  * Autolink delete http tests
  * Revert change to deps
  * Autolink delete tests
  * Initial working implementation
  * remove duplicated Prompter type
  * revert isEqualSet to private
  * Revert color changes
  * [docs/releasing.md] Add basic info for homebrew update flow
  * consolidate tests around getBundle func when possible
  * change permanent backoff error condition
  * Remove unused env var, PRID
  * dont retry when parsing fails
  * Update test
  * [gh issue/pr list] Improve help text
  * [gh extensions install] Improve help text and error message
  * [gh api] Fix mutual exclusion messages of `--slurp` flag
  * Remove v1 project 'add to board' automation from prauto workflow
  * [gh project item-list] Add `iterationId` field in ProjectV2ItemFieldIterationValue
  * [gh workflow run] Improve error handling for `--ref` flag
  * update tests
  * add missing return statement
  * method update
  * update no attestations found err
  * remove old tests
  * drop unneeded methods
  * deduplicate get attestation code
  * fix tests
  * update testing
  * chore: remove unused file
  * feat: integrate new PRLister into pr list command
  * issue #2329: create shared PRLister
  * fix: tab format may break checkout prompts
  * issue #2329: handle empty list of PR
  * issue #2329: include PR status in the prompt's options
  * issue #2329: fix prompt header getting duplicated
  * issue #2329: simplify the UI of the prompt
  * issue #2329: update the prompt's format
  * issue #2329: fix unit tests
  * issue cli#2329: Fix linter
  * issue cli#2329: fix unsufficent properties required for PR checkout
  * issue #2329: move Interactive check to RunE
  * fix: update the copy
  * issue #2329: return error when not running interactively
  * issue #2329: fix missing stub
  * issue #2329: improve UI/UX
  * issue #2329: add happy path unit test
  * issue #2329: fix the linting issue
  * issue #2329: fix the unit tests issue - ensure its backward compatible
  * feat: let user select pr to checkout


              

References


No references

Packages


  • gh-2.68.1-bp156.2.23.1