Skip to content

Fix JSR trusted publishing authorization for @git-stunts scope #677

Description

@flyingrobots

Problem

The v18.1.1 release workflow published npm successfully and created the GitHub Release, but the JSR publish job failed three times.

Evidence

Release workflow: https://github.com/git-stunts/git-warp/actions/runs/28144853400
Failed JSR job: https://github.com/git-stunts/git-warp/actions/runs/28144853400/job/83350310168
GitHub Release: https://github.com/git-stunts/git-warp/releases/tag/v18.1.1

Log excerpt from Publish JSR (retry x3):

Failed to publish @git-stunts/git-warp@18.1.1
The actor that this request was authenticated for is not authorized as a scope member for this scope. (actorNotScopeMember)

Confirmed state after the run:

npm @git-stunts/git-warp@18.1.1: published
JSR @git-stunts/git-warp@18.1.1: not published
GitHub Release v18.1.1: published, body reports JSR failed

Expected Outcome

JSR trusted publishing should be authorized for the actor/environment used by release.yml, so a release tag can publish both npm and JSR without manual intervention.

Suggested Mitigation

  1. Inspect the JSR package/scope settings for @git-stunts/git-warp.
  2. Authorize the GitHub Actions actor/environment used by git-stunts/git-warp releases as a scope member or trusted publisher.
  3. Re-run only the failed JSR publish job for v18.1.1 once authorization is corrected.
  4. Consider making the release summary link directly to registry-specific rerun instructions when exactly one registry fails.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:releasePrimary work area: release.priority:nextNext in line after active work.status:availableOpen and available for prioritization; not blocked or actively in progress.type:maintenanceMethod issue type maintenance.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions