Remove deprecated node20 option from Actions Metadata

未關閉 適合新手
#47,020 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

@Netail 已經在處理了。

開始於 2026年11月20日。

  • #47019 來自 @Netail —— 未關閉

評估

難度
1/5
預估耗時
1 小時以內
新手友好度
70/100
Issue 類型
文件
描述清晰度
描述清楚
活躍度
活躍
技術堆疊
markdown
領域
documentation

研究方向

從 metadata-syntax 文章的 runs-for-javascript-actions 部分開始,文章位於 content/actions/reference/workflows-and-actions/metadata-syntax.md,找到 node20 項目,並根據連結的棄用變更記錄將其取代為 node24。編輯前檢查同層參考檔案中是否提到相同選項。當文章不再提供 node20 且措辭與棄用通知一致時即完成;注意連結的 PR #47019 已存在,應重新開啟而不是重複建立。

由索引模型根據 Issue 內容生成。

描述

content skip-spammy-check
Code of Conduct
What article on docs.github.com is affected?

https://docs.github.com/en/actions/reference/workflows-and-actions/metadata-syntax

What part(s) of the article would you like to see updated?

https://docs.github.com/en/actions/reference/workflows-and-actions/metadata-syntax#runs-for-javascript-actions still mentions the option of node20, but has been deprecated falls back to node24 now. https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

Additional information

PR: https://github.com/github/docs/pull/47019 (needs to be re-opened)

主要語言
TypeScript
星號
21.6k
分支
69.7k
平均合併
8 小時 11 分鐘
30 天內合併 PR
100

環境準備

在 Codespaces 中開啟

在瀏覽器裡用你自己的 GitHub 帳號啟動這個專案的開發容器。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

github/docs 的其他 Issue

查看 github/docs 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。