File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -31,20 +31,25 @@ jobs:
3131 uses : actions/upload-artifact@v4
3232 with :
3333 name : upload-trivy-sbom-report
34- path : " ${{ github.workspace }}/trivy-report.sbom.json"
34+ path : " ${{ github.workspace }}/reports/ trivy-report.sbom.json"
3535 retention-days : 20
3636
3737 - name : Load the Trivy report SBOM into ScanCode.io
3838 uses : aboutcode-org/scancode-action@main
3939 id : scancode
4040 with :
4141 pipelines : " load_sbom"
42- inputs-path : " ${{ github.workspace }}/trivy-report.sbom.json "
42+ inputs-path : " ${{ github.workspace }}/reports/ "
4343
4444 - name : Use project name
45- run : echo "Project is ${{ steps.scancode.outputs .project-name }}"
45+ run : echo "Project is ${{ steps.scancode.inputs .project-name }}"
4646
4747 - name : Test running scanpipe for checking the loaded content
4848 shell : bash
4949 run : |
50- scanpipe shell shell --command "from scanpipe.models import DiscoveredPackage; print(DiscoveredPackage.objects.count())"
50+ scanpipe shell --command "from scanpipe.models import DiscoveredPackage; print(DiscoveredPackage.objects.count())"
51+
52+ - name : Test running scanpipe for checking the loaded content
53+ shell : bash
54+ run : |
55+ scanpipe status --project ${{ steps.scancode.inputs.project-name }}
You can’t perform that action at this time.
0 commit comments