ci: harden release image provenance - #165
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Team Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
| Filename | Overview |
|---|---|
| .github/scripts/release-provenance.mjs | Validates release provenance and now rejects manual attempts to publish the shared edge tag. |
| .github/scripts/release-registry-guard.mjs | Enforces immutable digest matching and supports skipping an already-correct immutable tag during recovery. |
| .github/workflows/release.yml | Splits provenance, build, and publish privileges while transferring and verifying the exact OCI archive before publication. |
| ui/release_provenance_test.js | Covers release provenance rejection, manual edge rejection, immutable-tag recovery, and publisher serialization. |
Reviews (3): Last reviewed commit: "ci: reject manual edge publications" | Re-trigger Greptile
Summary
Makes ShellPort image publication consume the exact read-only OCI build and reject moved release sources or unsafe immutable-tag publication.
What Changed
Why
The image uploaded to GHCR must be the candidate that was validated, with release provenance and immutable-version checks enforced before package writes.
Validation
npm exec vitest run ui/release_provenance_test.js(10 passing)git diff --check