feat: Add automated release workflows with waybill SBOM generation - #107
Open
mfahlandt wants to merge 1 commit into
Open
feat: Add automated release workflows with waybill SBOM generation#107mfahlandt wants to merge 1 commit into
mfahlandt wants to merge 1 commit into
Conversation
Adds two GitHub Actions workflows to automate the release process: - release.yml: triggered on v* tag push. Verifies build/lint/test and that the committed dist/ bundle is up to date, generates an SPDX 2.3 SBOM with waybill, signs it with cosign (keyless) and attaches SLSA build provenance, then publishes a GitHub Release with the SBOM artifacts. - pre-release.yml: manual workflow_dispatch for release candidates. Creates the tag and publishes a pre-release with the same verification and SBOM pipeline. Also adds docs/releasing.md describing the release process. Signed-off-by: Mario Fahlandt <mfahlandt@pixel-haufen.de>
mfahlandt
force-pushed
the
release-automation
branch
from
August 26, 2026 22:23
d44bacb to
1fbe0ee
Compare
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.
Description
Automates the release process, which was previously fully manual (build
dist/, tag, create the GitHub Release by hand).This PR adds two GitHub Actions workflows and documentation:
.github/workflows/release.yml— triggered onv*tag push:npm ci, build, lint, test, and checks that the committeddist/bundle matches a freshnccbuild (fails ifnpm run packwas forgotten before tagging)-rc/-alpha/-betaare marked as pre-releases automatically..github/workflows/pre-release.yml— manualworkflow_dispatchfor release candidates: creates the tag from the chosen branch and publishes a pre-release using the same verification and SBOM pipeline. The tag pushed by this workflow does not re-triggerrelease.yml(GitHub suppresses recursiveGITHUB_TOKENtriggers).docs/releasing.md— describes the release process, including how to verify the SBOM signature (cosign verify-blob) and provenance (gh attestation verify); linked fromREADME.mdanddocs/overview.md.All third-party actions are pinned by commit SHA; the waybill binary download is verified against a pinned SHA256.
Fixes # (no issue)
Testing
Checklist:
npm run allto lint and build my code (no source code changes — workflows and docs only)docs/releasing.md,README.md,docs/overview.md)