繁體中文

新功能

瀏覽網頁時可直接切到 Actions

想從終端機直接看 GitHub Actions(自動執行測試、建置或部署工作的服務),現在 gh browse 多了一個 --actions 旗標(flag,附在指令後改變行為的選項)。它讓瀏覽指令能指定開啟 Actions 頁面,不必先進專案首頁再手動切換分頁。公告只說新增這個旗標,沒有承諾改變工作流程的內容或結果。就像電梯多了一顆直達地下停車場的按鈕:目的地沒變,只是少按幾次樓層鍵。

新功能

可用 Git remote 名稱指定預設專案

你設定 gh repo set-default 的預設專案時,現在可以使用 Git remote(遠端連線名稱,例如 origin)名稱來指定。這讓已經替同一份程式碼設好多個遠端位置的人,可以沿用自己看得懂的名稱來選擇預設目標;公告沒有說會自動替你新增或改寫 remote。就像寄件簿裡已有「公司」和「個人」兩個收件人標籤,現在可直接挑標籤,不必再重抄完整地址。

問題修復

專案資料異常不再讓工具直接中斷

你處理 GitHub 專案資料時,遇到 null project items(空值的專案項目,代表資料位置存在但沒有可讀內容)不會再觸發 panic(程式無法自行處理錯誤而突然中止)。這是既有處理流程的修復,不是新增專案管理功能。同一版也修正安裝指南裡 Debian CLI 套件連結,讓讀者前往正確位置。就像清單裡有一格空白時,工作人員會跳過那格繼續辦事,而入口指示牌也改成正確方向。

新功能

發行流程與底層相依套件完成維護

一般使用者不需要調整任何指令,但這版更新了 OAuth、簽章、建置驗證與多個 Go 相依套件,並整理 CI(持續整合,自動檢查與打包程式的流程)的發行工作:升級 GoReleaser、更新 Azure Code Signing、替各建置工作加標籤、啟用 noop linter(不執行檢查工作的檢查器),以及補上 Windows 建立暫存標籤時的 shell 指定。擴充功能工作流程範本也更新 actions/checkout。公告沒有宣稱新增終端機功能,因此可把它看成讓出貨工廠持續換好零件的維護。就像倉庫更新封條機、分揀規則與零件,寄出的包裹類型不變,但流程有人持續照料。

English

FEATURE

Browse straight to Actions

When you want to inspect GitHub Actions—the service that runs automated tests, builds, or deployments—from the terminal, gh browse now has an --actions flag. A flag is an option added to a command to change what it opens, and this one sends the browse command to the Actions page instead of making you start on a repository page and switch tabs. The notes only add this shortcut; they do not claim to change what workflows do or produce. Like adding a direct elevator button for the parking garage: same destination, fewer buttons.

FEATURE

Use a Git remote name to choose the default repository

When setting the default repository with gh repo set-default, you can now name a Git remote, such as origin. That helps people who already gave one codebase several remote destinations choose the default by the label they recognize. The notes do not say the command will create or rewrite any remotes for you. It is like choosing an existing “work” or “personal” label in an address book instead of copying the full address again.

BUGFIX

Unexpected project data no longer makes the tool stop abruptly

When working with GitHub project data, null project items—places where an item exists but has no readable value—will no longer trigger a panic, an abrupt program stop when it cannot handle an error. This is a repair to an existing path, not a new project-management feature. The same release also corrected the Debian CLI package link in the installation guide, sending readers to the right place. Like a clerk skipping a blank box on a form and continuing, while the sign at the entrance is pointed the right way.

FEATURE

Release tooling and underlying dependencies received maintenance

You do not need to change any everyday command, but this release updated OAuth, signing, build verification, and several Go dependencies. It also maintained CI, the automated checking and packaging process: GoReleaser was upgraded, Azure Code Signing details changed, build jobs gained tags, and Windows temporary-tag creation received an explicit shell. Extension workflow templates also update actions/checkout. The notes do not claim a new terminal feature, so this is best read as ongoing care for the release factory. Like maintaining a warehouse’s sealers, sorting rules, and spare parts while the kinds of parcels it sends remain the same.

原始 CHANGELOG

Original changelog瀏覽網頁時可直接切到 Actions
Add gh browse --actions flag by @rneatherway in https://github.com/cli/cli/pull/12091
Original changelog可用 Git remote 名稱指定預設專案
feat: allow git remote names in gh repo set-default by @majiayu000 in https://github.com/cli/cli/pull/12377
@majiayu000 made their first contribution in https://github.com/cli/cli/pull/12377
Original changelog專案資料異常不再讓工具直接中斷
Fix Debian CLI package link in installation guide by @andyfeller in https://github.com/cli/cli/pull/12291
fix: prevent panic when processing null project items by @chrishenzie in https://github.com/cli/cli/pull/12324
@chrishenzie made their first contribution in https://github.com/cli/cli/pull/12324
Original changelog發行流程與底層相依套件完成維護
chore: upgrade to `cli/oauth@v1.2.1`  by @babakks in https://github.com/cli/cli/pull/12337
ci: upgrade to GoReleaser `v2` by @babakks in https://github.com/cli/cli/pull/12318
CI: Update Azure Code Signing client to 1.0.95 by @BagToad in https://github.com/cli/cli/pull/12424
CI: Update Azure Code Signing endpoint URL by @BagToad in https://github.com/cli/cli/pull/12425
ci: tag per build job by @babakks in https://github.com/cli/cli/pull/12428
CI: Add shell specification for temporary tag creation on Windows by @BagToad in https://github.com/cli/cli/pull/12429
Bump sigstore-go to v1.1.4 by @williammartin in https://github.com/cli/cli/pull/12289
Update actions/checkout to v6 in extension workflow templates by @fchimpan in https://github.com/cli/cli/pull/12393
ci: enable noop linters by @babakks in https://github.com/cli/cli/pull/12440
chore(deps): bump golang.org/x/sync from 0.18.0 to 0.19.0 by @dependabot[bot] in https://github.com/cli/cli/pull/12274
chore(deps): bump golang.org/x/text from 0.31.0 to 0.32.0 by @dependabot[bot] in https://github.com/cli/cli/pull/12281
chore(deps): bump golang.org/x/term from 0.37.0 to 0.38.0 by @dependabot[bot] in https://github.com/cli/cli/pull/12282
chore(deps): bump github.com/spf13/cobra from 1.10.1 to 1.10.2 by @dependabot[bot] in https://github.com/cli/cli/pull/12255
chore(deps): bump github.com/gdamore/tcell/v2 from 2.13.1 to 2.13.2 by @dependabot[bot] in https://github.com/cli/cli/pull/12262
chore(deps): bump golangci/golangci-lint-action from 9.1.0 to 9.2.0 by @dependabot[bot] in https://github.com/cli/cli/pull/12252
chore(deps): bump github.com/gdamore/tcell/v2 from 2.13.2 to 2.13.4 by @dependabot[bot] in https://github.com/cli/cli/pull/12302
chore(deps): bump golang.org/x/crypto from 0.45.0 to 0.46.0 by @dependabot[bot] in https://github.com/cli/cli/pull/12300
chore(deps): bump actions/attest-build-provenance from 3.0.0 to 3.1.0 by @dependabot[bot] in https://github.com/cli/cli/pull/12339
chore(deps): bump github.com/yuin/goldmark from 1.7.13 to 1.7.16 by @dependabot[bot] in https://github.com/cli/cli/pull/12452
@fchimpan made their first contribution in https://github.com/cli/cli/pull/12393