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
[Dependency Mgmt] Set up trusted publishing for CommonGrants npm packages #765
Configure trusted publishing for CommonGrants npm packages to eliminate the need to rotate npm tokens stored in GitHub Actions. Trusted publishing lets GitHub Actions authenticate to npm without long-lived tokens. May require GitHub org admin approval. PyPI trusted publishing for common-grants-sdk is out of scope here and will be tracked separately (see #650).
Acceptance criteria
Trusted publishing configured for CommonGrants npm packages
Token-based npm auth removed from GitHub Actions workflows
Required GitHub org admin approvals secured if needed
Publishing of npm packages is verified for all packages switched to trusted publishing
Setup team Lunch and Learn to share Release Please learnings
Closing the loop on this one now that every package has published through trusted publishing on a real release. All four npm packages publish from GitHub Actions with no npm token and with provenance:
Activity
ci: publish npm packages through trusted publishing (#1115)
ci: publish npm packages through trusted publishing
review: address standards, spec, and risk findings
review: correct publish-path comments after second-pass verification
ci: route both npm publish paths through release-please.yml
docs: point the retry runbook at the new npm publish fallback
docs: note how to recover a failed release-please run
SnowboardTechie commentedon Nov 2, 2026
Closing the loop on this one now that every package has published through trusted publishing on a real release. All four npm packages publish from GitHub Actions with no npm token and with provenance:
@common-grants/core0.5.0: https://www.npmjs.com/package/@common-grants/core/v/0.5.0 (run)@common-grants/cli0.5.0: https://www.npmjs.com/package/@common-grants/cli/v/0.5.0 (run)@common-grants/sdk0.9.1: https://www.npmjs.com/package/@common-grants/sdk/v/0.9.1 (run)@common-grants/cg-grants-gov0.4.0: https://www.npmjs.com/package/@common-grants/cg-grants-gov/v/0.4.0 (run), after ci: publish releases from cd-release.yml so npm trusted publishing works common-grants/ts-cg-grants-gov#38 moved its publish job into the release workflowThe
NPM_TOKENsecrets are deleted from both repos, and no workflow onmainreferences one.