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.
This adds a SLSA provenance builder for javassist.
It builds the artifacts and creates the SLSA attestation for each artifact in the artifact-list. I have added the same artifact that is currently released like here: https://github.com/jboss-javassist/javassist/releases/tag/rel_3_29_2_ga - except for the source code.
An example run can be found here: https://github.com/AdamKorcz/javassist/actions/runs/4470554544
The builder will be merged into https://github.com/slsa-framework/slsa-github-generator.
This builder is in its early days, and I am working to mature it and make it ready for publication. As such, this might break on occasion over the next few weeks, but I will be able to fix things quickly if they do. Nonetheless, it would be great to have javassist be an early adopter and see how it runs in the real world. Perhaps releases could be published both by the SLSA builder and the current action?
The builder will also be tested on sigstore-java: sigstore/sigstore-java#357
To read more about the SLSA framework, see https://slsa.dev/.
To read more about SLSA provenance attestations, see: https://slsa.dev/provenance/v0.2