Skip to content

update: use oidc to publish to npm - #24

Merged
Isha-Sharma merged 9 commits into
mainfrom
npm-oidc
Sep 7, 2026
Merged

update: use oidc to publish to npm#24
Isha-Sharma merged 9 commits into
mainfrom
npm-oidc

Conversation

@Isha-Sharma

Copy link
Copy Markdown
Collaborator

Description

updated jwks-slim and ssm-env-util package publishing to use oidc

Resolutions

  • fixes fundwave/discussions#690

Deployment

Current pipelines will suffice

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The workflows may fail because npm publish --provenance can require a newer npm CLI than what’s guaranteed by the current Node 18 setup without explicitly upgrading npm (see PR comments).

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Updates the npm publishing pipelines for jwks-slim and ssm-env-util to use GitHub OIDC-based publishing with provenance, aligning releases with the intended “OIDC publish” approach referenced in the PR description.

Changes:

  • Switch npm publish steps to npm publish --provenance and enable id-token: write in both publish workflows.
  • Update package metadata/versions (and add missing repository metadata for ssm-env-util).
  • Correct jwks-slim repository/homepage URLs to fundwave/network-utils.
File summaries
File Description
ssm-env-util/package.json Bumps version and adds repository metadata for npm package publishing.
ssm-env-util/package-lock.json Updates lockfile version fields to match the new package version.
jwks-slim/package.json Bumps version and corrects repository/homepage URLs.
jwks-slim/package-lock.json Updates lockfile version fields to match the new package version.
.github/workflows/npm-publish.yml Enables OIDC permissions and publishes with provenance.
.github/workflows/npm-publish-ssm-env-util.yml Enables OIDC permissions and publishes with provenance.
Review details

Files not reviewed (2)

  • jwks-slim/package-lock.json: Generated file
  • ssm-env-util/package-lock.json: Generated file
  • Files reviewed: 4/6 changed files
  • Comments generated: 3
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/npm-publish-ssm-env-util.yml
Comment thread .github/workflows/npm-publish.yml
Comment thread .github/workflows/npm-publish.yml
Comment thread .github/workflows/npm-publish.yml Outdated
Also trigger the workflow on changes to its own file.

@giriparus giriparus left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed workflow changes to push using oidc. lgtm

@Isha-Sharma
Isha-Sharma merged commit b0300a1 into main Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants