Skip to content

docs: 完善 Actions Secret 安全配置与运行前校验#66

Open
liuwanwan1 wants to merge 1 commit into
lispringing:mainfrom
liuwanwan1:main
Open

docs: 完善 Actions Secret 安全配置与运行前校验#66
liuwanwan1 wants to merge 1 commit into
lispringing:mainfrom
liuwanwan1:main

Conversation

@liuwanwan1

Copy link
Copy Markdown

改动说明

  • 修正 Fork 仓库与私有化的安全说明,补充 GitHub Actions Secrets 的配置方式和课程列表格式。
  • 将工作流改为手动触发,并将 GITHUB_TOKEN 权限限制为只读。
  • 在运行主程序前检查三个必填 Secret;缺失时给出明确错误且不输出 Secret 值。
  • 仅在校验和主程序步骤注入 Secret,避免传递给代码检出和依赖安装步骤。

验证

  • 使用 Python 3.13 运行 main.py --help
  • 全量 Python 源码编译
  • 工作流 YAML 与权限/Secret 作用域策略校验

Closes #65

Related to #63

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.

改进:工作流应在执行前校验必填 Secrets

1 participant