Skip to content

fix: generate SLSA provenance for published distributions - #96

Merged
koo-ec merged 1 commit into
mainfrom
fix/slsa-provenance-workflow
Oct 22, 2026
Merged

koo-ec merged 1 commit into
mainfrom
fix/slsa-provenance-workflow

Conversation

@koo-ec

@koo-ec koo-ec commented Oct 22, 2026 •

Copy link
Copy Markdown
Collaborator

The SLSA job fails during setup because generator v1.4.0 uses retired artifact actions v3. Its digest output also references a different name from the value produced by the hashing step, and the build only creates placeholder files.

Upgrade the generator to v2.1.0 and build real wheel/source distributions. Reuse that build from the tag release workflow, retain its Nox checks, and publish the exact distributions covered by signed provenance. Attach provenance to the GitHub release. Validate SLSA automatically when either workflow changes, while retaining manual dispatch.

Validation: actionlint passed for both changed workflows; git diff --check passed; uv build with Python 3.13 successfully produced xwhy-0.0.6.tar.gz and xwhy-0.0.6-py3-none-any.whl. GitHub CI is running. A fresh SLSA run will execute on main after merge.

@koo-ec
koo-ec merged commit 5dc8c95 into main Oct 22, 2026
7 checks passed
@codecov

codecov Bot commented Oct 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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