GitHub 於 2026 年 11 月 17 日公布 Copilot Code Review 更新。Adaptive 依 Pull Request 的複雜度與風險選擇 Lite、Balanced 或 Max 審查層級。管理者設定的審查上限會限制可選層級。
公開 Repository 的 Cross-repository context 預覽功能會在審查時讀取相關公開 Repository、文件、自訂指示與 Skills。
Secret detection 預覽功能會在 Pull Request 審查中標記新增程式碼行的疑似機密。偵測結合已知格式規則與模型判斷。功能不搜尋 Repository 歷史。團隊需覆核警示內容,並依憑證處置流程處理。
Adaptive、Cross-repository context 與 Secret detection 目前都在公開預覽。適用方案與工作區設定以 GitHub 公告為準。
Codex 資安修補實戰
Mokoversity《Codex 資安修補實戰》套裝使用合成 Node.js 專案,練習建立受控工作區、驗證程式弱點、修補身分與授權、處理輸入及機密風險,並完成安全回歸與修補交付。課堂不連接 Copilot、GitHub 或正式 Repository。
查看套裝課綱:
查看套裝課程
GitHub 官方公告:
https://github.blog/changelog/2026-11-17-copilot-code-review-adaptive-effort-secret-detection-and-more/
