You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
##[error]DEEPSEEK_API_KEY is empty. The e2e suite would self-skip and
##[error]report a false green. Configure the repo secret DEEPSEEK_API_KEY_EXTERNAL.
##[error]Process completed with exit code 1.
##error::DEEPSEEK_API_KEY is empty. The e2e suite would self-skip and
##error::report a false green. Configure the repo secret DEEPSEEK_API_KEY_EXTERNAL.
(:88-100,Preflight 步骤的注释还专门解释了为什么要硬失败:"the e2e suites self-skip when the key is absent, so a missing/misconfigured secret would otherwise pass as 'all skipped'"。)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
问题概述 (Summary)
.github/workflows/e2e.yml中定义了每天夜间定时运行的调度任务:当开发者 Fork 本仓库到个人账户后,GitHub Actions 会默认继承并自动运行该定时任务。由于外部社区 Fork 仓库不具备上游专有的仓库 Secret
DEEPSEEK_API_KEY_EXTERNAL,导致该工作流在Preflight (require DEEPSEEK_API_KEY)步骤中硬性断言失败退出:这会导致所有 Fork 了本项目的开发者每天都会收到失败通知邮件,并白白消耗 Fork 仓库的 GitHub Actions 免费额度。
复现步骤 (Reproduction)
deepseek-ai/deepseek-harness到个人 GitHub 账户。E2E (real DeepSeek API)在 Preflight 阶段报错。预期行为与建议修复 (Expected Behavior & Fix Suggestion)
依赖上游专有 Secret 的定时测试工作流,应当在 job 或 schedule 级别增加仓库守卫(Repository Guard),确保仅在官方主仓库运行,避免在 Fork 仓库中无效执行。
例如可以在
.github/workflows/e2e.yml中添加仓库过滤判断:或者限制
schedule仅在deepseek-ai/deepseek-harness触发。All reactions