发布

  • fix: Pass PAT_TOKEN to actions/checkout to trigger downstream workflows (#1161)

    frostbyte_neo 发布于 2025-11-26 21:11:49 +00:00

    The issue: actions/checkout configures git to use GITHUB_TOKEN by default.
    Even when gh release create uses PAT_TOKEN, the release event is associated
    with GITHUB_TOKEN credentials, which by design doesn't trigger other workflows.

    The fix: Pass PAT_TOKEN to actions/checkout so all subsequent operations
    (including release creation) use the PAT's credentials, allowing downstream
    workflows (Docker publish, PyPI publish) to be triggered.

    Reference: https://github.com/orgs/community/discussions/25702

    Also bumps version to 1.2.23 to test the fix.

    下载附件