ZeroOne 技術文章第 31 頁

GitHub Actions cache-mode 怎麼設才安全?restore-keys 仍不是可信來源
GitHub Actions 新增 cache-mode,可用 read、write、write-only 或 none 限制快取操作。本文整理 workflow/job 覆寫、低信任事件、restore-only 與避免 cache poisoning 的設定邊界。
1128 字
|
6 分鐘
Cover Image of the Post
GitHub Actions workflow_dispatch 的 boolean 為何要用 inputs context
GitHub Actions 手動 workflow 的 boolean input 在 inputs 與 github.event.inputs 中型別不同。本文用部署範例說明條件式為何應優先讀取 inputs,避免字串造成誤判。
608 字
|
3 分鐘
Cover Image of the Post
Astro 遠端圖片怎麼設白名單:用 domains 與 remotePatterns 縮小來源範圍
Astro 使用遠端圖片時,別用過寬的來源設定。本文整理 image.domains 與 image.remotePatterns 的差異、何時限制 HTTPS host 與路徑,以及如何驗證圖片最佳化和版面穩定。
622 字
|
3 分鐘
Cover Image of the Post
GitHub Copilot app 權限怎麼管:別再把它和 Copilot CLI 當成同一個開關
GitHub Copilot app 現在有獨立的企業與組織政策。本文整理預設狀態、三種管理選項,以及導入前如何分開審核桌面 app、CLI、雲端 agent 與 PR 審查的存取邊界和團隊治理責任。
741 字
|
4 分鐘
Cover Image of the Post
GitHub Copilot 串接 Linear:把 issue 委派給 cloud agent 前的檢查表
GitHub Copilot cloud agent 現已能從 Linear issue 啟動並建立 draft PR。本文整理安裝前的雙方管理權限、issue 撰寫邊界、branch 設定、審查流程與成本盤點,避免把跨工具委派當成直接合併。
1330 字
|
7 分鐘
Cover Image of the Post
Astro CSP 設定 inline script 與 style 前,先用 Report-Only 找出阻擋
Astro 7.1 新增更細的 CSP directive 控制。本文整理部署靜態網站前,如何以 Report-Only、實際資源清單與漸進收緊方式避免 inline script 或 style 被誤擋。
792 字
|
4 分鐘
Cover Image of the Post
Cloudflare Access 私有 HTTP 網站登入改用瀏覽器後,先查這三件事
Cloudflare Access 已讓 port 80 的私有 HTTP app 使用瀏覽器登入流程。本文說明使用者看見登入頁後應檢查的路由、Cloudflare One Client、Access 應用程式與 origin 邊界。
708 字
|
4 分鐘
Cover Image of the Post
GitHub Copilot 出現 Claude Opus 5 時:先查方案、政策與額度
Claude Opus 5 正逐步在 GitHub Copilot 提供。本文整理哪些方案與入口可選模型、Business/Enterprise 管理員要開什麼、計費邊界,以及選不到時的檢查順序。
824 字
|
4 分鐘
Cover Image of the Post