Skip to content

chore(ci): release without a stored npm token - #365

Merged
MartinCupela merged 1 commit into
mainfrom
chore/remove-npm-token
Nov 13, 2026
Merged

MartinCupela merged 1 commit into
mainfrom
chore/remove-npm-token

Conversation

@MartinCupela

@MartinCupela MartinCupela commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Releases already publish to npm through OIDC trusted publishing: 5.16.1 was published by GitHub Actions with a provenance attestation, release.yml grants id-token: write, and @semantic-release/npm 13 tries OIDC before falling back to NPM_TOKEN. The NPM_TOKEN: ${{ secrets.NPM_AUTOMATION_TOKEN }} line only passed an expired token, so this PR removes it.

After merge, the NPM_AUTOMATION_TOKEN secret can be deleted. release-v4 still references it, but it uses semantic-release 18 (no OIDC support) and has not released since 4.19.0 in September 2024.

Releases publish to npm through OIDC trusted publishing, so the release
job no longer passes NPM_TOKEN from the NPM_AUTOMATION_TOKEN secret.
@MartinCupela
MartinCupela merged commit 3f0e18a into main Nov 13, 2026
4 checks passed
@MartinCupela
MartinCupela deleted the chore/remove-npm-token branch November 13, 2026 23:21
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.

1 participant