发布

  • fix(ci): use workflow_dispatch to trigger publish from auto-release (#67)

    frostbyte_neo 发布于 2026-03-26 09:28:01 +00:00

    GITHUB_TOKEN tags don't trigger workflows, and PyPI trusted publisher
    is bound to publish.yml. Solution: auto-release creates the tag, then
    dispatches publish.yml via workflow_dispatch with the tag as input.

    • publish.yml gains workflow_dispatch trigger with tag input
    • auto-release.yml creates tag + dispatches publish.yml
    • publish.yml handles both tag push and dispatch triggers

    Co-authored-by: Claude Opus 4.6 (1M context) noreply@anthropic.com

    下载附件