Skip to content

Add guarded Cargo trusted publishing - #14

Merged
konojunya merged 1 commit into
mainfrom
agent/trusted-cargo-publishing
Sep 5, 2026
Merged

Add guarded Cargo trusted publishing#14
konojunya merged 1 commit into
mainfrom
agent/trusted-cargo-publishing

Conversation

@konojunya

Copy link
Copy Markdown
Member

Summary

  • Add a main-only, exact-source Cargo release workflow using a pinned OIDC authentication action.
  • Default to packaging and authentication verification without uploading a crate.
  • Require successful exact-commit CI, expected package/version, registry-only packaged dependencies, and immutable version checks before publishing.
  • Document owner configuration separately from workflow implementation; no long-lived secret is used.

Validation

  • Five publication-context and workflow-boundary tests
  • actionlint and whitespace validation
  • Existing full repository CI remains required

No package version, released artifact, runtime behavior, or registry trust configuration is changed.

@konojunya
konojunya merged commit ffb46dd into main Sep 5, 2026
2 checks passed
@konojunya
konojunya deleted the agent/trusted-cargo-publishing branch September 5, 2026 20: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