发布

  • [NA] [INFRA] fix: persist-credentials: false for peter-evans workflows (#5848)

    frostbyte_neo 发布于 2026-03-25 15:12:11 +00:00

    • [NA] [INFRA] fix: add persist-credentials: false to checkout steps for peter-evans/create-pull-request

    Fixes "Duplicate header: Authorization" errors in workflows that use
    peter-evans/create-pull-request with a custom token. The checkout action
    persists its own auth header, conflicting with the one set by
    create-pull-request.

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

    • [NA] [INFRA] fix: remove redundant remote-branch-action from peter-evans workflows

    peter-evans/create-pull-request already creates the branch via the
    GitHub API. The JosiahSiegel/remote-branch-action step is redundant
    and fails with persist-credentials: false.

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


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

    下载附件