fix: use CARGO_REGISTRY_TOKEN env var in release workflow#161
fix: use CARGO_REGISTRY_TOKEN env var in release workflow#161ElFantasma merged 1 commit intomainfrom
Conversation
🤖 Kimi Code ReviewReview of PR #161This PR updates the release workflow to use environment variables for the crates.io token instead of passing it as a command-line argument. Security Improvements ✅
Code Quality & Best Practices
Suggestions
The changes are minimal and focused, improving security without introducing any regressions. The PR looks good to merge. Automated review by Kimi (Moonshot AI) · custom prompt |
🤖 Codex Code ReviewNo blocking findings in this PR.
Notes:
Automated review by OpenAI Codex · custom prompt |
🤖 Claude Code ReviewPR #161 Review:
|
Greptile SummaryThis PR replaces the deprecated Key changes:
Confidence Score: 5/5
|
| Filename | Overview |
|---|---|
| .github/workflows/release.yaml | Replaces deprecated --token CLI flag with the CARGO_REGISTRY_TOKEN env var (scoped per publish step) for each of the three crates publish steps; logic and secret source are unchanged. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart TD
A([Release Published]) --> B[Checkout Code]
B --> C[Set Up Rust Toolchain]
C --> D["Publish spawned-macros\nenv: CARGO_REGISTRY_TOKEN"]
D -- success --> E[Wait 30s for crates.io indexing]
D -- already exists --> E
D -- other error --> F([Exit 1])
E --> G["Publish spawned-rt\nenv: CARGO_REGISTRY_TOKEN"]
G -- success --> H[Wait 30s for crates.io indexing]
G -- already exists --> H
G -- other error --> I([Exit 1])
H --> J["Publish spawned-concurrency\nenv: CARGO_REGISTRY_TOKEN"]
J -- success --> K([Done])
J -- already exists --> K
J -- other error --> L([Exit 1])
Last reviewed commit: b794182
Summary
cargo publish --tokenwithCARGO_REGISTRY_TOKENenvironment variableTest plan