Repository navigation
feat: tag-triggered publish pipeline with attestations - #11
Merged
Merged
Conversation
Stands up Phase 4 publishing: a four-part workflow (tag entrypoint + reusable trusted builder + draft finalizer + continuous security) that turns a release-please tag into a GitHub Release carrying just the Lambda zip. Build provenance and SBOM are persisted to GitHub's Attestations API via actions/attest; no Cosign, checksum, or SBOM material is attached to the release. Adds codeql.yml, dependency-review.yml, scorecard.yml, and extends dependabot.yml to cover gomod. Documents verification in README and the pipeline architecture under docs/. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
The `dependency-review` action fails on this repo with "Dependency review is not supported on this repository" despite dependency graph being on at the repo level. Looks like an org/feature-level gate we need to investigate separately; removing to unblock the publish pipeline. CodeQL + Scorecard still ship in this PR, so Phase 4's continuous security baseline is still covered. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This was referenced Apr 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
release.yml(tag entrypoint with verify → release → finalize jobs),reusable-release.yml(trusted builder), pluscodeql.yml,dependency-review.yml,scorecard.ymlfor continuous security.actions/attest@v4(subject-checksums form for provenance, SPDX predicate form for SBOM). Only the Lambda zip ships as a release asset — no Cosign, checksum, or SBOM files are attached..github/dependabot.ymlto cover gomod; existing github-actions + npm(docs) blocks unchanged.gh attestation verifycommands (online, SBOM-specific, and offline/air-gapped forms). Newdocs/docs/explanation/release-architecture.mddocuments the pipeline design and the rationale for the attestation-only verification channel.Design rationale
Aligns with the refreshed
publishingskill: separation of versioning from publication, trusted reusable builder (SLSA L3 signer identity distinct from caller), attestations-as-API-records rather than release-asset bundles. The tag entrypoint preflights release-please's draft release viascripts/wait-for-draft-release.shand only un-drafts viascripts/publish-draft-release.shafter the reusable build succeeds, so any failure leaves the release invisible.No Cosign step — GitHub Artifact Attestations is already a Sigstore keyless flow under the hood; adding
cosign sign-blobwould duplicate the signature and add a second key-management surface.Test plan
actionlint .github/workflows/*.ymlpassespython3 yaml.safe_loadparses every new workflow and dependabot configbash -nsyntax-checks on both scriptsmoon run broker:checkpasses (unit + build)moon run docs:buildpasses with the new explanation docv1.0.0;release.ymlmust complete andgh attestation verifymust succeed against the published zip. Fix forward viav1.0.1if any step fails (tags are immutable).🤖 Generated with Claude Code