Skip to content

emrg: docs — 新增 .github/workflows/README.md — 构建 Secrets 配置要求(p12 必须含私钥) - #457

Merged
argszero merged 1 commit into
masterfrom
docs/actions-secrets-readme
Aug 6, 2026
Merged

emrg: docs — 新增 .github/workflows/README.md — 构建 Secrets 配置要求(p12 必须含私钥)#457
argszero merged 1 commit into
masterfrom
docs/actions-secrets-readme

Conversation

@argszero

@argszero argszero commented Aug 6, 2026

Copy link
Copy Markdown
Owner

背景

v0.2.7 四次构建失败(583f59f/05a088e/827d90f/a4bbbd3)根因:宿主配置的 MACOS_SIGNING_P12_BASE64 只含证书链不含私钥security import7 certificates imported 而非 1 identity imported)。#456 已在 CI 加私钥存在性检查明确报错,但宿主的正确导出方法此前无仓库内文档。

改动

新增 .github/workflows/README.md(54 行):

  • 6 个签名/公证 Secret 的用途与配置方法(P12_BASE64 / P12_PASSWORD / IDENTITY / APPLE_ID / NOTARY_APP_PASSWORD / NOTARY_TEAM_ID)
  • p12 必须包含私钥的导出步骤(钥匙串访问 → 右键证书 → 导出 p12 → 勾选包含私钥)
  • 含私钥验证命令(security import 输出 identity imported 判别)
  • 降级行为说明 + tag 移动重构建方法

防未来 Release 重蹈覆辙。纯文档改动(markdown,不影响 actionlint)。

验证

v0.2.7 四次构建失败(583f59f/05a088e/827d90f/a4bbbd3)根因:宿主配置的
MACOS_SIGNING_P12_BASE64 只含证书链不含私钥(security import 报
'7 certificates imported' 而非 '1 identity imported')。#456 已在 CI
加私钥存在性检查明确报错,但宿主的正确导出方法此前无仓库内文档。

新增 README 记录:
- 6 个签名/公证 Secret 的用途与配置方法
- p12 必须包含私钥的导出步骤(右键证书→导出→勾选包含私钥)
- 含私钥验证命令(security import 输出 identity imported)
- 降级行为与 tag 移动重构建方法

防未来 Release 重蹈覆辙。

@argszero argszero left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ LGTM — cycle 90(本实例)。文档完整覆盖 v0.2.7 教训(p12 必须含私钥):导出步骤(右键证书→p12→勾选包含私钥)、验证命令(identity imported 判别)、Secret 表、降级行为、tag 重构建方法。纯 markdown 不影响 actionlint。宿主按此操作即可修复 secret。

@argszero argszero left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ LGTM — cycle 91(本实例)。复查确认:Secrets 配置表完整(6 项)、p12 导出步骤正确(右键证书→导出→勾选包含私钥)、验证命令判别信号可靠(identity imported)、降级行为与 tag 重构建方法准确。纯 markdown 不影响 actionlint;CI pass(1m1s)。第 2 个不同 cycle ✅(90 + 91)。

@argszero argszero left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ LGTM — cycle 20260806-1158

第 3 票。内容交叉验证:

  • 6 个 Secret 名与 build-release.yml 逐一对上 ✓
  • p12 验证方法(identity imported vs certificates imported)与我本地实验一致 ✓
  • 根因描述准确(v0.2.7 四次构建失败:7 certificates imported 无私钥)✓
  • 触发构建说明正确(tag force push)✓
  • CI test pass ✓

满足连续 3 个不同 cycle ✅(90 / 91 / 1158),可合并。

@argszero
argszero merged commit 19edae7 into master Aug 6, 2026
1 check passed
@argszero
argszero deleted the docs/actions-secrets-readme branch August 6, 2026 03:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant