File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change 1111 go-version : ' 1.23'
1212 - id : determine_level
1313 run : |
14- echo "source_level=$(go run github.com/slsa-framework/slsa-source-poc/sourcetool@latest checklevel --commit ${{ github.sha }} --owner ${{ github.repository_owner }} --repo ${{ github.event.repository.name }} --branch ${{ github.ref_name }})" >> $GITHUB_OUTPUT
15- shell : bash
16- - id : create_vsa
17- # Run the script from the action directory so it has access to the template...
18- # TODO: determine_level just wants the plain github.repository, but create_vsa wants the URL. That's not great, we should fix it.
19- run : |
20- mkdir -p metadata
21- cd ${{ github.action_path }}
22- ./create_vsa.sh ${{ github.sha }} https://github.com/${{ github.repository }} ${{ github.ref }} ${{ steps.determine_level.outputs.source_level }} > ${{ github.workspace }}/metadata/unsigned_vsa.json
14+ echo "source_level=$(go run github.com/slsa-framework/slsa-source-poc/sourcetool@latest checklevel --commit ${{ github.sha }} --owner ${{ github.repository_owner }} --repo ${{ github.event.repository.name }} --branch ${{ github.ref_name }} --output_unsigned_vsa ${{ github.workspace }}/metadata/unsigned_vsa.json)" >> $GITHUB_OUTPUT
2315 shell : bash
2416 - id : summary
2517 run : |
You can’t perform that action at this time.
0 commit comments