发布

  • fix(repo): remove duplicate permissions block in publish workflow (#32868)

    frostbyte_neo 发布于 2025-09-26 19:38:38 +00:00

    Current Behavior

    The publish workflow has a duplicate permissions block incorrectly
    nested under a GitHub script action step, which causes a syntax error in
    the GitHub Actions workflow.

    Expected Behavior

    The workflow should run without syntax errors. The permissions block
    should only be defined at the job level, not within individual steps.

    Related Issue(s)

    This fixes a GitHub Actions workflow syntax issue where permissions were
    incorrectly nested under a step action.

    The pull-requests: write permission is already correctly defined at
    the job level (lines 510-513), so the duplicated permissions block under
    the step was unnecessary and causing errors.

    🤖 Generated with Claude Code

    下载附件