usage

GitHub CLI 2.82.1

工具與目錄
在這頁

新功能 1 項

01

更新建置與格式辨識等底層依賴版本

你安裝 gh CLI 後,程式使用的幾個底層依賴(組成程式的外部零件)已更新到較新的版本:github/codeql-action 從 3 升到 4;github.com/sigstore/sigstore-go 從 1.1.0 升到 1.1.3;github.com/gabriel-vasile/mimetype 從 1.4.9 升到 1.4.10;actions/attest-build-provenance 從 2.4.0 升到 3.0.0。這些是版本替換本身,原始紀錄沒有宣稱額外功能或效能改變。就像維修工具箱,把幾個外部零件換成指定的新批次,工具箱的用途不變,但裡面的零件版本已對上新標籤。

官方原文

chore(deps): bump github/codeql-action from 3 to 4 by @dependabot[bot] in https://github.com/cli/cli/pull/11881

chore(deps): Bump github.com/sigstore/sigstore-go from 1.1.0 to 1.1.3 by @dependabot[bot] in https://github.com/cli/cli/pull/11830

chore(deps): bump github.com/gabriel-vasile/mimetype from 1.4.9 to 1.4.10 by @dependabot[bot] in https://github.com/cli/cli/pull/11659

chore(deps): bump actions/attest-build-provenance from 2.4.0 to 3.0.0 by @dependabot[bot] in https://github.com/cli/cli/pull/11612

修正 1 項

02

不支援的 GitHub 主機也能順利修改拉取請求

你在不支援 V1 projects(第一代專案功能)的 GitHub 主機上使用 gh pr edit 修改拉取請求時,gh CLI 不會再先嘗試抓取這些主機不支援的專案資料,因此編輯動作能順利進行。它處理的是主機能力不同造成的多餘請求,不是替主機新增 V1 projects。就像在分店修改訂單,分店沒有某種舊型櫃位時,店員會直接替你處理訂單,不再先跑去找那個櫃位。

官方原文

fix gh pr edit: do not fetch V1 projects on unsupported GitHub hosts by @BagToad in https://github.com/cli/cli/pull/11987