@@ -20,12 +20,12 @@ runs:
2020 path : ${{ github.workspace }}/metadata/prev_bundle.intoto.jsonl
2121 - id : determine_level
2222 run : |
23- go run github.com/slsa-framework/slsa-source-poc/sourcetool@9db86884defc341b81cda6099e72e1d6ccc0d701 prov --prev_att_path ${{ github.workspace }}/metadata/prev_bundle.intoto.jsonl --commit ${{ github.sha }} --prev_commit ${{ github.event.before }} --owner ${{ github.repository_owner }} --repo ${{ github.event.repository.name }} --branch ${{ github.ref_name }} >> ${{ github.workspace }}/metadata/unsigned_prov.json
23+ go run github.com/slsa-framework/slsa-source-poc/sourcetool@dc0d9d3269c17312141a64a28fbda43aae9a3274 checklevelprov --prev_bundle_path ${{ github.workspace }}/metadata/prev_bundle.intoto.jsonl --commit ${{ github.sha }} --prev_commit ${{ github.event.before }} --owner ${{ github.repository_owner }} --repo ${{ github.event.repository.name }} --branch ${{ github.ref_name }} --output_unsigned_bundle ${{ github.workspace }}/metadata/unsigned_bundle.jsonl
2424 shell : bash
2525 - id : summary
2626 run : |
2727 echo "## Unsigned Provenance" >> $GITHUB_STEP_SUMMARY
28- cat ${{ github.workspace }}/metadata/unsigned_prov.json >> $GITHUB_STEP_SUMMARY
28+ cat ${{ github.workspace }}/metadata/unsigned_bundle.jsonl >> $GITHUB_STEP_SUMMARY
2929 shell : bash
3030 - id : install_witness
3131 # This is a bit of a hack, running witness happens to also install it.
@@ -38,17 +38,17 @@ runs:
3838 - id : sign_prov
3939 # Use witness to sign that provenance...
4040 run : |
41- witness sign -f ${{ github.workspace }}/metadata/unsigned_prov.json -t "application/vnd.in-toto+json" -o ${{ github.workspace }}/metadata/signed_prov.json \
41+ witness sign -f ${{ github.workspace }}/metadata/unsigned_bundle.jsonl -t "application/vnd.in-toto+json" -o ${{ github.workspace }}/metadata/signed_bundle.jsonl \
4242 --signer-fulcio-url https://fulcio.sigstore.dev \
4343 --signer-fulcio-oidc-client-id sigstore \
4444 --signer-fulcio-oidc-issuer https://oauth2.sigstore.dev/auth \
4545 --timestamp-servers https://freetsa.org/tsr
4646 echo "## Signed Prov" >> $GITHUB_STEP_SUMMARY
47- cat ${{ github.workspace }}/metadata/signed_prov.json >> $GITHUB_STEP_SUMMARY
47+ cat ${{ github.workspace }}/metadata/signed_bundle.jsonl >> $GITHUB_STEP_SUMMARY
4848 shell : bash
4949 - uses : slsa-framework/slsa-source-poc/actions/store_note@main
5050 with :
51- path : ${{ github.workspace }}/metadata/signed_prov.json
51+ path : ${{ github.workspace }}/metadata/signed_bundle.jsonl
5252 - uses : actions/upload-artifact@v4
5353 if : always()
5454 with :
0 commit comments