Skip to content

Commit 1d4dcb8

Browse files
committed
find osv-scanner.json
1 parent 69133a5 commit 1d4dcb8

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/main.yaml

+10-3
Original file line numberDiff line numberDiff line change
@@ -439,15 +439,22 @@ jobs:
439439
# check that PRs do not introduce vulnerabilities in vendor dependencies
440440
- name: 'Vendor Vulnerability Scanning'
441441
run: |
442-
docker run -v $PWD/:/github -v $HOME:$HOME otp \
443-
"/github/.github/scripts/otp-compliance.es sbom osv-scan"
442+
docker run -v $PWD/:/github otp \
443+
"/github/.github/scripts/otp-compliance.es sbom osv-scan && echo \"foo=$(find /github -name osv-scanner.json)\""
444+
445+
446+
- name: Find osv-scanner.json
447+
run: |
448+
OSV=$(find . -name osv-scanner.json)
449+
echo "all=${OSV}" >> $GITHUB_OUTPUT
450+
cat $GITHUB_OUTPUT
444451
445452
# Upload the deps
446453
- name: "upload osv-scanner deps"
447454
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # ratchet:actions/[email protected]
448455
with:
449456
name: converted-OSV-Scanner-deps
450-
path: $PWD/osv-scanner.json
457+
path: /home/runner/osv-scanner.json
451458
retention-days: 2
452459

453460
scan-pr:

0 commit comments

Comments
 (0)