Context
Publishing was gated off in the release workflow after an incident during M0 closeout: with zero pending changesets, changesets/action falls through to changeset publish and attempted to push empty 0.0.0 scaffolds to npm. Provenance verification rejected them (missing repository fields at the time), which was the only thing that prevented junk packages going live. The repository/license/author metadata is now in place; publish stays off until there is something real to release.
Scope
Acceptance criteria
- Merging a version PR publishes only intentionally-versioned packages, with provenance, and the workflow is green
Context
Publishing was gated off in the release workflow after an incident during M0 closeout: with zero pending changesets, changesets/action falls through to
changeset publishand attempted to push empty 0.0.0 scaffolds to npm. Provenance verification rejected them (missingrepositoryfields at the time), which was the only thing that prevented junk packages going live. Therepository/license/authormetadata is now in place; publish stays off until there is something real to release.Scope
publish: pnpm changeset publishtochangesets/actionin.github/workflows/release.ymlNPM_TOKENandNPM_CONFIG_PROVENANCE: 'true'env andid-token: writepermissionrepository.urlmatches the repo in every public package (provenance requirement)Acceptance criteria