Repository navigation
ci: add publish workflow - #2
Conversation
|
@greptile review |
Greptile SummaryThis PR adds a GitHub Actions release workflow that automatically publishes
Confidence Score: 4/5Safe to merge; the workflow is well-structured with tag validation, test gating, and least-privilege permissions. Previous review concerns (missing permissions block, sed fragility) are now addressed. One non-blocking best-practice improvement remains: adding
Important Files Changed
Sequence DiagramsequenceDiagram
participant GH as GitHub Release
participant WF as Workflow Runner
participant CT as Cargo.toml
participant Tests as cargo test
participant CratesIO as crates.io
GH->>WF: release published (vX.Y.Z tag)
WF->>WF: Extract version from GITHUB_REF_NAME
WF->>WF: Validate format (^[0-9]+\\.[0-9]+\\.[0-9]+$)
WF->>CT: sed patch: version = "X.Y.Z"
WF->>Tests: cargo test
Tests-->>WF: pass / fail
WF->>CratesIO: cargo publish --allow-dirty
CratesIO-->>WF: published looper-cli@X.Y.Z
Reviews (2): Last reviewed commit: "clean up" | Re-trigger Greptile |
No description provided.