Skip to content

Conversation

JamieSinn
Copy link
Member

No description provided.

@JamieSinn JamieSinn requested a review from a team as a code owner October 15, 2025 14:08
@Copilot Copilot AI review requested due to automatic review settings October 15, 2025 14:08
@vercel
Copy link

vercel bot commented Oct 15, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
js-sdks-web-elements Ready Ready Preview Comment Oct 17, 2025 2:22pm
js-sdks-with-provider Ready Ready Preview Comment Oct 17, 2025 2:22pm
1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
js-sdks-next-js-page-router Ignored Ignored Oct 17, 2025 2:22pm

Copy link
Contributor

@Copilot 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

Switches publication flow to rely on (implied) npm OIDC by removing manual OTP handling and token secret injection. Key changes simplify the publish script and workflow but also remove explicit authentication validation.

  • Removed OTP argument parsing, auth wrapper function, and auth presence check in npm-safe-publish.sh
  • Replaced npm_authenticated call with direct npm publish
  • Cleared NODE_AUTH_TOKEN secret mapping in release workflow

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
scripts/npm-safe-publish.sh Removes OTP/token handling and publishes directly with npm
.github/workflows/release.yml Removes NODE_AUTH_TOKEN secret mapping (empty secrets_map)

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@JamieSinn JamieSinn changed the title Use NPM OIDC fix: Use NPM OIDC Oct 17, 2025
Copy link
Contributor

@Copilot 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

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link
Contributor

@Copilot 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

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@Copilot Copilot AI review requested due to automatic review settings October 17, 2025 14:19
Copy link
Contributor

@Copilot 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

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment on lines 23 to 27
while (( "$#" )); do
case "$1" in
--otp=*)
OTP="${1#*=}"
shift
;;
--dry-run)
DRY_RUN="true"
echo "Dry run enabled. Not pushing to NPM."
Copy link

Copilot AI Oct 17, 2025

Choose a reason for hiding this comment

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

Removal of the previously supported --otp=... argument is a breaking CLI change; existing automation invoking the script with --otp= will now fail as an unknown argument. Consider retaining a no-op handler for --otp (emitting a deprecation warning) to preserve backward compatibility, e.g.: case --otp=* ) echo 'Warning: --otp deprecated; OIDC in use.' ;;

Copilot uses AI. Check for mistakes.

@Copilot Copilot AI review requested due to automatic review settings October 20, 2025 21:00
Copy link
Contributor

@Copilot 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

Copilot reviewed 8 out of 8 changed files in this pull request and generated no new comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant