Github workflow Submodules from private repositories
GitHub Actions 簽出私人 repo 的子模組時,預設權限讀不到其他私人 repo,要建立 fine-grained PAT 並給 Contents 和 Metadata 唯讀權限。
把 PAT 存成 Environment secret,再於 actions/checkout 指定 token 和 submodules: recursive。
完整文章與更新版本已搬到 jakeuj.com:CI/CD Github workflow 使用私人庫的子模組

本部落格已搬到 jakeuj.com,文章在新站持續更新。