Skip to content

Commit 3ade026

Browse files
committed
Use the file-as-inputs-path branch #1729
Signed-off-by: tdruez <[email protected]>
1 parent 3359dbc commit 3ade026

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/check-sca-integrations.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,25 +31,25 @@ jobs:
3131
uses: actions/upload-artifact@v4
3232
with:
3333
name: upload-trivy-sbom-report
34-
path: "${{ github.workspace }}/reports/trivy-report.sbom.json"
34+
path: "${{ github.workspace }}/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
39-
id: scancode
4039
with:
4140
pipelines: "load_sbom"
42-
inputs-path: "${{ github.workspace }}/reports/"
41+
inputs-path: "${{ github.workspace }}/trivy-report.sbom.json"
42+
scancodeio-repo-branch: "file-as-inputs-path"
4343

44-
- name: Use project name
45-
run: echo "Project is ${{ steps.scancode.inputs.project-name }}"
44+
# - name: Use 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: |
5050
scanpipe shell --command "from scanpipe.models import DiscoveredPackage; print(DiscoveredPackage.objects.count())"
5151
52-
- name: Test running scanpipe for checking the loaded content
53-
shell: bash
54-
run: |
55-
scanpipe status --project ${{ steps.scancode.inputs.project-name }}
52+
# - name: Test running scanpipe for checking the loaded content
53+
# shell: bash
54+
# run: |
55+
# scanpipe status --project ${{ steps.scancode.inputs.project-name }}

0 commit comments

Comments
 (0)