Skip to content

[SCR-85] Added Trusted Publisher Configuration#19

Merged
sahilsunny merged 2 commits intomasterfrom
add-trusted-publisher-config
Dec 8, 2025
Merged

[SCR-85] Added Trusted Publisher Configuration#19
sahilsunny merged 2 commits intomasterfrom
add-trusted-publisher-config

Conversation

@sahilsunny
Copy link
Contributor

@sahilsunny sahilsunny commented Dec 8, 2025

Problem

Security Update: npm classic token creation is now disabled. Existing classic tokens will be revoked on December 9, 2025. Migrate to trusted publishing or granular access tokens to avoid disruption. Learn more.

Solution

We have deleted all of the existing Publish and Automation tokens from npm. Publish tokens are safe to delete. Since, our automation token was tied to the github action of this repository, we needed to re-implement this either by using a rotating token strategy or by using a Trusted Publisher. Because Trusted Publisher was the recommended and easiest approach, we have enabled Trusted Publisher from our npm package settings and changed the publish.yml file to use the Trusted Publisher configuration.

@sahilsunny sahilsunny requested a review from kirby81 December 8, 2025 08:41
@sahilsunny sahilsunny changed the title Added Trusted Publisher Configuration [SCR-85] Added Trusted Publisher Configuration Dec 8, 2025
@sahilsunny sahilsunny self-assigned this Dec 8, 2025
Copy link
Collaborator

@kirby81 kirby81 left a comment

Choose a reason for hiding this comment

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

Sounds good

@sahilsunny sahilsunny merged commit 4c6c9ec into master Dec 8, 2025
3 checks passed
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