Skip to content

[Dependency Mgmt] Set up trusted publishing for CommonGrants npm packages #765

Closed

Description

@laurabelinfante

Summary

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

References

Activity

  1. SnowboardTechie commented on Nov 2, 2026

    @SnowboardTechie
    Collaborator

    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:

    The NPM_TOKEN secrets are deleted from both repos, and no workflow on main references one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions