Skip to content

Crates.io trusted publishing#8

Merged
ayshptk merged 1 commit into
mainfrom
cursor/crates-io-trusted-publishing-9685
Feb 11, 2026
Merged

Crates.io trusted publishing#8
ayshptk merged 1 commit into
mainfrom
cursor/crates-io-trusted-publishing-9685

Conversation

@ayshptk

@ayshptk ayshptk commented Feb 11, 2026

Copy link
Copy Markdown
Owner

Switch crates.io publishing to Trusted Publishing (OIDC) to remove the use of a long-lived secret token.


Open in Cursor Open in Web


Note

Low Risk
Workflow-only change that reduces secret exposure; main risk is release pipeline breakage if OIDC/trusted publishing isn’t configured correctly in crates.io.

Overview
Switches the publish GitHub Actions job to crates.io Trusted Publishing via OIDC by adding id-token: write permissions and using rust-lang/crates-io-auth-action to mint a short-lived token.

Removes use of the long-lived secrets.CARGO_REGISTRY_TOKEN, passing cargo publish the action-provided token instead.

Written by Cursor Bugbot for commit 7211899. This will update automatically on new commits. Configure here.

Co-authored-by: ayush <ayshptk@users.noreply.github.com>
@cursor

cursor Bot commented Feb 11, 2026

Copy link
Copy Markdown

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@vercel

vercel Bot commented Feb 11, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
harness-cli Ready Ready Preview, Comment Feb 11, 2026 4:50am

@ayshptk ayshptk marked this pull request as ready for review February 11, 2026 04:50
@ayshptk ayshptk merged commit 3d09a0c into main Feb 11, 2026
4 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