Skip to content

fix(ci): adding crates.io trusted publishing, deleting token publishing - #109

Merged
dotkas merged 1 commit into
developfrom
dotkas/trusted-publishing
Aug 13, 2026
Merged

fix(ci): adding crates.io trusted publishing, deleting token publishing#109
dotkas merged 1 commit into
developfrom
dotkas/trusted-publishing

Conversation

@dotkas

@dotkas dotkas commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI lite review requested due to automatic review settings August 13, 2026 13:09
@dotkas
dotkas enabled auto-merge (squash) August 13, 2026 13:09
@dotkas dotkas changed the title fix: adding crates.io trusted publishing, deleting token publishing fix(ci): adding crates.io trusted publishing, deleting token publishing Aug 13, 2026
@dotkas
dotkas merged commit e56ec63 into develop Aug 13, 2026
8 of 9 checks passed
@dotkas
dotkas deleted the dotkas/trusted-publishing branch August 13, 2026 13:12

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the release pipeline to publish oapi-codegen to crates.io using crates.io Trusted Publishing (GitHub OIDC) instead of a long-lived CARGO_REGISTRY_TOKEN secret, and removes the now-obsolete secret-probing workflow.

Changes:

  • Add job-scoped id-token: write + contents: read permissions for the crates.io publish job and authenticate via rust-lang/crates-io-auth-action@v1.
  • Switch cargo publish to use the short-lived token output from the trusted publishing auth step.
  • Delete the scheduled/manual workflow that probed the legacy crates.io secret token.

Reviewed changes

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

File Description
.github/workflows/deploy.yml Uses OIDC Trusted Publishing to mint a short-lived crates.io token and publishes with it (no long-lived secret).
.github/workflows/check-crates-io-credentials.yml Removes the workflow that checked validity of the deleted long-lived crates.io token secret.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@alchemax-housekeeper

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 1.0.1-dev.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@alchemax-housekeeper

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 1.0.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants