Skip to content

Simplify npm publish command in workflow#40

Open
gracepark wants to merge 1 commit intomainfrom
gp/oidc-migration
Open

Simplify npm publish command in workflow#40
gracepark wants to merge 1 commit intomainfrom
gp/oidc-migration

Conversation

@gracepark
Copy link
Copy Markdown

Part of: https://github.com/github/web-systems/issues/4309

Removed npm whoami command from publish step.

Removed npm whoami command from publish step.
Copilot AI review requested due to automatic review settings May 8, 2026 19:06
@gracepark gracepark requested a review from a team as a code owner May 8, 2026 19:06
@gracepark gracepark requested a review from bteng22 May 8, 2026 19:06
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Simplifies the npm publish GitHub Actions workflow by removing a pre-publish identity check, intended to streamline releases triggered from GitHub Releases.

Changes:

  • Removes npm whoami from the publish step.
  • Updates the publish step command to just run npm --ignore-scripts publish --provenance.
Show a summary per file
File Description
.github/workflows/publish.yml Simplifies the npm publish step in the release workflow.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/1 changed files
  • Comments generated: 1

- run: npm whoami; npm --ignore-scripts publish --provenance
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- run: npm --ignore-scripts publish --provenance
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.

2 participants