Secure Publish Setup

Sets up tokenless npm publishing via OIDC trusted publishing: no NPM_TOKEN secret, automatic provenance attestations, an idempotent skip-if-already-published step, a reusable workflow_call structure, GitHub Environments for any unavoidable long-lived secrets, and a bundled one-time check that verifies each package's repository field at setup so provenance can't fail with E422. Use when asked to publish npm packages securely, remove or replace NPM_TOKEN, or set up trusted publishing / provenance.

emaarco bfa48af 2 files · 11.4 KB Updated

File contents

emaarco/hogwarts/tree/main/plugins/felix-felicis/skills/secure-publish-setup commit bfa48af145

Frequently asked questions

npx skillmds@latest add emaarco/secure-publish-setup