Skip to content

Conversation

@mkistler
Copy link
Contributor

A few more tweaks. This PR automates the creation of the release PR (when the gh command is available) and fixes npm publishing to use the new Trusted Publishing feature, which requires no token stored in the repo (yea!).

Copy link
Contributor

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

This PR improves the release automation by adding automatic PR creation via GitHub CLI and migrating from token-based npm authentication to npm's Trusted Publishing feature, which uses OpenID Connect (OIDC) for authentication without requiring stored secrets.

Changes:

  • Automated Pull Request creation in the release preparation script when GitHub CLI is available
  • Removed npm token authentication from the release workflow in favor of Trusted Publishing
  • Updated documentation to reference the new Trusted Publishing feature

Reviewed changes

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

File Description
scripts/prepare-release.sh Added automatic PR creation using gh CLI with fallback instructions when CLI is unavailable
.github/workflows/release.yaml Updated npm to ensure version 11.5.1+ for Trusted Publishing support and removed NODE_AUTH_TOKEN
RELEASING.md Added reference to npm's Trusted Publishing documentation

💡 Add Copilot custom instructions for smarter, more guided reviews. 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants