Skip to content

fix: repair release publishing workflows - #101

Merged
XYAIStudio merged 1 commit into
mainfrom
hotfix/release-workflows
Sep 29, 2026
Merged

XYAIStudio merged 1 commit into
mainfrom
hotfix/release-workflows

Conversation

@XYAIStudio

Copy link
Copy Markdown
Owner

0.0.7 发布时暴露出两个工作流配置问题:PyPI trusted publishing 缺少 OIDC id-token: write,Docker Hub 可选密钥直接用于 step if 导致工作流解析失败。

本热修复补齐 OIDC 权限,并把 Docker Hub 密钥映射到 job env 后再做可选登录判断。未配置 Docker Hub 时仍只发布 GHCR。

验证:

  • 两个 YAML 文件均通过本地 PyYAML 解析
  • git diff --check 通过
  • 0.0.7 GitHub Release 与桌面资产已通过人工恢复完成,本变更用于后续发布不再复现

@XYAIStudio
XYAIStudio merged commit 1de2305 into main Sep 29, 2026
5 checks passed
@XYAIStudio
XYAIStudio deleted the hotfix/release-workflows branch September 29, 2026 10:35
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