Skip to content

Conversation

@lantoli
Copy link
Member

@lantoli lantoli commented Nov 6, 2025

Fix release

  • Get all main history so latest tag can be accessed
  • Use NPM_TRUSTED_PUBLISHER

Type of change:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as
    expected)
  • This change requires a documentation update

Required Checklist:

  • I have signed the MongoDB CLA
  • I have added tests that prove my fix is effective or that my feature works
  • I have added any necessary documentation (if appropriate)
  • I have run make fmt and formatted my code
  • I have tested the CDK constructor in a CFN stack. See TESTING.md
  • If changes include removal or addition of 3rd party GitHub actions, I updated our internal document. Reach out to the APIx Integration slack channel to get access to the internal document.

Further comments

@lantoli lantoli marked this pull request as ready for review November 6, 2025 17:53
@lantoli lantoli requested a review from a team as a code owner November 6, 2025 17:53
Copilot AI review requested due to automatic review settings November 6, 2025 17:53
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 fixes the release workflow by ensuring proper Git history access and updating NPM publishing configuration. The changes enable the release process to correctly identify version tags and use NPM's trusted publisher authentication method.

Key Changes:

  • Configure checkout to fetch complete Git history on the main branch
  • Replace NPM provenance configuration with trusted publisher authentication
  • Update inline comments to reflect current configuration

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

@lantoli lantoli merged commit 3e3ee17 into main Nov 6, 2025
16 checks passed
@lantoli lantoli deleted the fix-release branch November 6, 2025 20:10
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