Skip to content

Conversation

frenchi
Copy link
Contributor

@frenchi frenchi commented Sep 18, 2025

Draft PR to demo the github action based release workflow. Will tidy up comments & commits before opening, but I'll pause here for feedback.

Benefits:

Benefits over the current manual release workflow:

  • attests SLSA build environment provenance, so consumers can validate releases
    e.g. gh release verify v0.5.0 -R modelcontextprotocol/go-sdk
  • SBOM generation,
  • (future) keyless signing of build provenance & assets so consumers can validate artifacts and lineage.
  • Multi‑party approvals: Gate releases behind Environments with required reviewers
  • Transparency & audit trail: CI logs, signed tag verification (“who cut this”), provenance attestations, and attached SBOMs make releases inspectable and defensible.
  • Speed & reliability: Tag push triggers a fully automated release (source archives + SBOM + notes), less room for human error.

Demo

This release was cut automatically: https://github.com/frenchi/go-sdk/releases/tag/v0.5.4
via this workflow run: https://github.com/frenchi/go-sdk/actions/runs/17816393139

With approval gating: pre-approval

approved

TODO:

  • if the dependency cost is worth it, use sigstore for signing of source/sbom, to be uploaded alongside releases,
  • Enable Immutable Releases
  • Multi-party approval is possible via:
    • Github Repo Settings
    • -> Environments
    • -> release
    • -> Deployment protection rules
    • -> Required reviewers

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