Skip to content

M1: Upload CycloneDX SBOM and fail on GitHub Release errors in release workflow #81

Backlog

Description

@h45sh

Context

release.yml (.github/workflows/release.yml) has two release-integrity gaps:

  1. In jobs.pypi-release (.github/workflows/release.yml:55-56), softprops/action-gh-release sets continue-on-error: true, silently ignoring failures to create the GitHub Release or upload .whl/.tar.gz assets.
  2. In jobs.docker-release (.github/workflows/release.yml:126-138), anchore/sbom-action generates output-file: ether-sbom.cdx.json (in addition to sbom: true on docker/build-push-action), but no subsequent step uploads ether-sbom.cdx.json as a workflow artifact or attaches it to the GitHub Release, so the generated SBOM is discarded when the runner exits.

Proof

Parsed .github/workflows/release.yml with PyYAML at origin/dev@db5fc07:

python3 -c '
import yaml
data = yaml.safe_load(open(".github/workflows/release.yml"))
gh_rel = [s for s in data["jobs"]["pypi-release"]["steps"] if "softprops/action-gh-release" in s.get("uses", "")][0]
sbom = [s for s in data["jobs"]["docker-release"]["steps"] if "anchore/sbom-action" in s.get("uses", "")][0]
after = data["jobs"]["docker-release"]["steps"][data["jobs"]["docker-release"]["steps"].index(sbom)+1:]
print("continue-on-error:", gh_rel.get("continue-on-error"))
print("sbom output-file:", sbom["with"].get("output-file"))
print("steps after sbom:", [s.get("name") for s in after])
'

Observed output:

  • continue-on-error: True
  • sbom output-file: ether-sbom.cdx.json
  • steps after sbom: ['Install Cosign', 'Sign container image with Cosign (OIDC)']

Impact

Affects tag and workflow_dispatch releases: failed GitHub Release asset uploads pass silently, and the generated CycloneDX SBOM is never published or retained.

Acceptance criteria

  • Remove continue-on-error: true from softprops/action-gh-release in .github/workflows/release.yml
  • Upload ether-sbom.cdx.json as a workflow artifact and/or attach it to the GitHub Release (or attest it via Cosign)

Out of scope

Changing PyPI Trusted Publishing or Cosign OIDC signing configuration.

Part of #24


audit:self · run 2026-12-02 · ref origin/dev@db5fc07 · cell signal×supply

Activity

  1. added this to the M1 Truth milestone on Dec 1, 2026
  2. added
    type:task
    area:packaging
    on Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:packagingpriority:P3type:task

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions