You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 89e9d6f
Browse filesBrowse the repository at this point in the historyBrowse files
R3-527's Architecture named prettier-config's release job as the model. This
one was a single unattended job on `npm@latest`, which differs from it in the
two ways that matter:
- No `environment: production` and no approval assertion, so a push to main
published a public, irreversible npm version with no human decision in the
loop (R-TA-1). Split into `test` + `release`, with prettier-config's
fail-closed assertion — an environment GitHub auto-creates is unprotected,
so naming one is not proof of a gate.
- `npm@latest` lets a release job float across a major unattended. [email protected]
shipped without libnpmpublish's `sigstore` dependency, so every
`npm publish --provenance` threw `Cannot find module 'sigstore'`
(npm/cli#9722) — that is what broke the SDK's 0.29.0 and the transpiler's
0.5.0. It is fixed in [email protected], so the pin is hygiene rather than a
workaround; 11.x is the line the org's other publishes are proven on.
(prettier-config's own comment still describes this as an open regression.)
Also drops the "package does not exist on npm yet — skipping" bootstrap branch.
npm cannot configure a trusted publisher for a name that has never been
published, so the bootstrap is a one-time manual `npm publish` by the operator,
not something CI can reach — a branch that waits for it can only mask a real
publish failure afterwards (R5). Merge this after that publish; the PR body
carries the two operator steps.
Untested: .github/workflows/ci.yml — CI configuration, exercised by the run it
configures; `npm test` (26 tests) and `check:publish-version` are green on this
head.
Claude-Session: https://claude.ai/code/session_01K7LpQeBDrEP6ornpuSvyHt
Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
echo "::error::No human approval recorded for environment 'production' on this run. Configure Settings → Environments → production → Required reviewers, then re-run. Refusing to publish an irreversible public version unattended (TESTING_AUTOMATION_SPEC R-TA-1)."
0 commit comments